![]() TGE Version 1.5.2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ConsoleLogger Class Reference#include <consoleLogger.h>
Inheritance diagram for ConsoleLogger: ![]() Detailed DescriptionA class designed to be used as a console consumer and log the data it receives to a file.
Member Typedef Documentation
Reimplemented from SimObject.
Constructor & Destructor Documentation
Default constructor, make sure to initalize.
Constructor.
Destructor.
Member Function Documentation
The log function called by the consumer callback.
Utility function, sets up the object (for script interface) returns true if successful.
Register dynamic fields in a subclass of ConsoleObject.
Reimplemented from SimObject.
Console constructor.
// Example script constructor usage. %obj = new ConsoleLogger( objName, logFileName, [append = false] ); Reimplemented from SimObject.
Attach to the console and begin logging. Returns true if the action is successful
Detach from the console and stop logging. Returns true if the action is successful
Sets the level of console messages to log.
Returns the level of console messages to log.
The callback for the console consumer.
Field Documentation
True if it is currently consuming and logging.
File stream this object writes to.
This is for use with the default constructor.
If false, it will clear the file before logging to it.
The file name to log to.
List of active ConsoleLoggers to send log messages to.
The level of log messages to log.
|