#include <LogStream.h>
Public Methods | |
| logbuf () | |
| Constructor. | |
| ~logbuf () | |
| Destructor. | |
| bool | enabled () |
| Is logging enabled? | |
| void | set_log_state (int c, int p) |
| Set the logging level of subsequent messages. | |
| void | set_log_level (int c, int p) |
| Set the global logging level. | |
| void | set_log_classes (int c) |
| Set the allowed logging classes. | |
| int | get_log_classes () |
| Get the logging classes currently enabled. | |
| void | set_log_priority (int p) |
| Set the logging priority. | |
| int | get_log_priority () |
| Get the current logging priority. | |
| void | set_sb (std::streambuf *sb) |
| Set the stream buffer. | |
Protected Methods | |
| virtual int | sync () |
| sync/flush | |
| int | overflow (int ch) |
| overflow | |
logbuf is an output-only streambuf with the ability to disable sets of messages at runtime. Only messages with priority >= logbuf::logPriority and debugClass == logbuf::logClass are output.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Is logging enabled?
|
|
|
Get the logging classes currently enabled.
|
|
|
Get the current logging priority.
|
|
|
overflow
|
|
|
Set the allowed logging classes.
|
|
||||||||||||
|
Set the global logging level.
|
|
|
Set the logging priority.
|
|
||||||||||||
|
Set the logging level of subsequent messages.
|
|
|
Set the stream buffer.
|
|
|
sync/flush
|
|
SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage. Generated on Tue Oct 14 12:06:41 2003, using Doxygen 1.2.18. |