Открытые члены |
| LogAgregator (const std::string &name, Debug::type t) |
| LogAgregator (const std::string &name="") |
virtual void | logFile (const std::string &f, bool truncate=false) override |
| Sets the debugstreams' logfile to f.
|
void | add (std::shared_ptr< LogAgregator > log, const std::string &lname="") |
void | add (std::shared_ptr< DebugStream > log, const std::string &lname="") |
std::shared_ptr< DebugStream > | create (const std::string &logname) |
void | addLevel (const std::string &logname, Debug::type t) |
void | delLevel (const std::string &logname, Debug::type t) |
void | level (const std::string &logname, Debug::type t) |
void | offLogFile (const std::string &logname) |
void | onLogFile (const std::string &logname) |
std::shared_ptr< DebugStream > | getLog (const std::string &logname) |
bool | logExist (std::shared_ptr< DebugStream > &l) const |
std::list< iLog > | getLogList () const |
std::list< iLog > | getLogList (const std::string ®exp_str) const |
std::ostream & | printLogList (std::ostream &os, const std::string ®exp_str="") |
| DebugStream (Debug::type t=Debug::NONE) |
| Constructor, sets the debug level to t.
|
| DebugStream (char const *f, Debug::type t=Debug::NONE, bool truncate=false) |
| Constructor, sets the log file to f, and the debug level to t.
|
StreamEvent_Signal | signal_stream_event () |
void | level (Debug::type t) noexcept |
| Sets the debug level to t.
|
Debug::type | level () const noexcept |
| Returns the current debug level.
|
void | addLevel (Debug::type t) noexcept |
| Adds t to the current debug level.
|
void | delLevel (Debug::type t) noexcept |
| Deletes t from the current debug level.
|
std::string | getLogFile () const noexcept |
void | setLogFile (const std::string &n) noexcept |
bool | isOnLogFile () const noexcept |
void | onLogFile (bool truncate=false) |
void | offLogFile () noexcept |
bool | debugging (Debug::type t=Debug::ANY) const noexcept |
| Returns true if t is part of the current debug level.
|
std::ostream & | debug (Debug::type t=Debug::ANY) noexcept |
std::ostream & | operator[] (Debug::type t) noexcept |
std::ostream & | to_end (Debug::type t) noexcept |
std::ostream & | operator() (Debug::type t) noexcept |
void | showDateTime (bool s) noexcept |
void | showMilliseconds (bool s) noexcept |
void | showMicroseconds (bool s) noexcept |
void | showLogType (bool s) noexcept |
std::ostream & | log (Debug::type l) noexcept |
std::ostream & | printDate (Debug::type t, char brk= '/') noexcept |
std::ostream & | printTime (Debug::type t, char brk= ':') noexcept |
std::ostream & | printDateTime (Debug::type t) noexcept |
std::ostream & | pos (int x, int y) noexcept |
const DebugStream & | operator= (const DebugStream &r) |
void | setLogName (const std::string &n) noexcept |
std::string | getLogName () const noexcept |