|
| Log (std::ostream &ostr=std::cerr, int verbosityLevel=LOG_WARNING) |
|
| Log (const Log &m) |
|
void | setOstr (std::ostream &ostr) |
|
void | setOstr (const std::string &filename) |
|
void | close () |
| Closes internal ofstr, if used. External ofstream will not be closed.
|
|
void | setVerbosity (level_t level) |
|
void | setVerbosity (const std::string &level) |
|
int | getVerbosity () const |
|
void | flush (level_t level, const std::string &prefix, const std::stringstream &sstr) |
|
void | flush (level_t level, const Notification ¬if, const std::string &prefix, const std::stringstream &sstr) |
|
long | getRelativeMilliseconds () |
|
void | resetTime () |
|
Handler for notifications sent by a Logger.
debug.setVerbosity(level);
debug.error() << " overflow error, value=" << 5 << '\n';
debug.endl();
debug.error() << " overflow error, value=" << 5 << debug.endl();
Logger mout(monitor, "FunctionName") ;
Log(std::ostream &ostr=std::cerr, int verbosityLevel=LOG_WARNING)
Definition: Log.h:168
TODO: add direct feed, perhaps Log::error() could instantiate a source?