Public Member Functions | |
| LogArea (const LogAreaName parent_area=LA_ROBOSOC, const bool do_file_log=true, std::ostream *file_log_stream=NULL, const bool do_screen_log=true, std::ostream *screen_log_stream=NULL) | |
| Construct a log area that stores information about one log area. | |
| LogArea (const LogArea &obj) | |
| Copy constructor. | |
| ~LogArea () | |
| Destructor. | |
| LogArea & | operator= (const LogArea &obj) |
| Assignment operator. | |
| void | setParentArea (const LogAreaName parent_area) |
| Set the parent area to parent_area. | |
| LogAreaName | getParentArea () const |
| Get the parent area. | |
| void | setLogScreen (const bool do_log) |
| Turn on and off the logging to the screen. | |
| bool | logScreen () const |
true iff the log should be sent to the screen. | |
| void | setLogFile (const bool do_log) |
| Turn on and off the logging to a file. | |
| bool | logFile () const |
true iff the log should be sent to the file. | |
| void | setFileLogStream (std::ostream *os) |
| Set which stream the file log should be sent to. | |
| std::ostream * | getFileLogStream () |
| Get the file stream. | |
| void | setScreenLogStream (std::ostream *os) |
| Set which stream the screen log should be sent to. | |
| std::ostream * | getScreenLogStream () |
| Get the screen stream. | |
Current information is the parent area, if anything should be logged and where to. Future information might be a function for processing the data before/after printing it.
Definition at line 77 of file LogArea.h.
1.3-rc3