Browse Source

pEpLog.hh - formatting

LIB-12
heck 4 years ago
parent
commit
2dd7dbf597
  1. 8
      src/pEpLog.hh

8
src/pEpLog.hh

@ -60,14 +60,13 @@ namespace pEp {
void log(const std::string& msg); void log(const std::string& msg);
void set_enabled(const bool& is_enabled); void set_enabled(const bool& is_enabled);
bool get_enabled(); bool get_enabled();
} // pEp } // namespace pEpLog
} // Adapter } // namespace Adapter
} // pEpLog } // namespace pEp
// -------------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------------
// pEpLogClass is to be used in a class // pEpLogClass is to be used in a class
// pEpLogger can only print the "thread - file::class::function - <message>" format using this macro // pEpLogger can only print the "thread - file::class::function - <message>" format using this macro
// WARNING: Some magic is needed // WARNING: Some magic is needed
@ -128,6 +127,7 @@ namespace pEp {
// If never set, the default instancename is a unique number // If never set, the default instancename is a unique number
void set_instancename(const std::string& name); void set_instancename(const std::string& name);
std::string get_instancename() const; std::string get_instancename() const;
private: private:
static int auto_instance_nr; static int auto_instance_nr;
bool is_enabled; bool is_enabled;

Loading…
Cancel
Save