|
|
@ -3,6 +3,8 @@ |
|
|
|
|
|
|
|
#include "utils.hh" |
|
|
|
|
|
|
|
#include <iostream> |
|
|
|
|
|
|
|
#include <pEp/identity_list.h> |
|
|
|
|
|
|
|
#include "../../src/Adapter.hh" |
|
|
@ -13,6 +15,25 @@ using namespace pEp; |
|
|
|
|
|
|
|
namespace pEp { |
|
|
|
namespace Test { |
|
|
|
namespace Log { |
|
|
|
void logH1(string msg) |
|
|
|
{ |
|
|
|
char decoration{ '=' }; |
|
|
|
cout << endl |
|
|
|
<< endl |
|
|
|
<< std::string(30, decoration) << ' ' << msg << ' ' |
|
|
|
<< std::string(30, decoration) << endl; |
|
|
|
} |
|
|
|
|
|
|
|
void logH2(string msg) |
|
|
|
{ |
|
|
|
char decoration{ '-' }; |
|
|
|
cout << endl |
|
|
|
<< std::string(10, decoration) << ' ' << msg << ' ' |
|
|
|
<< std::string(10, decoration) << endl; |
|
|
|
} |
|
|
|
} // namespace Log
|
|
|
|
|
|
|
|
namespace Utils { |
|
|
|
string identity_to_string(::pEp_identity* ident, bool full, int indent) |
|
|
|
{ |
|
|
|