Orocos Real-Time Toolkit
2.6.0
|
This hidden struct stores all data structures required for logging. More...
Public Member Functions | |
D (std::ostream &str, char const *logfile_name) | |
bool | maylog () const |
bool | maylogStdOut () const |
bool | maylogFile () const |
void | logit (std::ostream &(*pf)(std::ostream &)) |
This function is called when a new message is ready to be written to screen, disk, or stream. | |
Logger::LogLevel | intToLogLevel (int ll) |
std::string | showTime () const |
std::string | showLevel (LogLevel ll) const |
Convert a loglevel to a string representation. | |
std::string | showModule () const |
Public Attributes | |
std::ostream * | stdoutput |
std::stringstream | logline |
LogLevel | inloglevel |
LogLevel | outloglevel |
TimeService::ticks | timestamp |
bool | started |
bool | showtime |
bool | allowRT |
bool | mlogStdOut |
bool | mlogFile |
std::string | moduleptr |
os::Mutex | inpguard |
This hidden struct stores all data structures required for logging.
Definition at line 100 of file Logger.cpp.
void RTT::Logger::D::logit | ( | std::ostream &(*)(std::ostream &) | pf | ) | [inline] |
This function is called when a new message is ready to be written to screen, disk, or stream.
'logline' or 'remotestream' contain a single log message. Time and location is prepended.
Definition at line 148 of file Logger.cpp.
Referenced by RTT::Logger::logendl(), and RTT::Logger::lognl().