Orocos Real-Time Toolkit  2.5.0
Public Member Functions | Public Attributes
RTT::Logger::D Struct Reference

This hidden struct stores all data structures required for logging. More...

List of all members.

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

Detailed Description

This hidden struct stores all data structures required for logging.

Definition at line 100 of file Logger.cpp.


Member Function Documentation

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().


The documentation for this struct was generated from the following file: