Outputter interface. More...
|virtual void||open (const char *title)=0|
|Open the outputter. |
|virtual void||close ()=0|
|Close the outputter. |
|virtual void||show (bool showIfEmpty)=0|
|Show the outputter. |
|virtual bool||write (ELevel level, const char *message)=0|
|Write a message with level. |
Type of outputter interface. The logger performs all output through outputters. ILogOutputter overrides must not call any log functions directly or indirectly.
|virtual void ILogOutputter::close||(||)||
Close the outputter.
Close the outputter. Calling this method on an already closed outputter must have no effect.
|virtual void ILogOutputter::open||(||const char *||title||)||
Open the outputter.
Opens the outputter for writing. Calling this method on an already open outputter must have no effect.
Referenced by CLog::insert().
|virtual void ILogOutputter::show||(||bool||showIfEmpty||)||
Show the outputter.
Causes the output to become visible. This generally only makes sense for a logger in a graphical user interface. Other implementations will do nothing. Iff
false then the implementation may optionally only show the log if it's not empty.
|virtual bool ILogOutputter::write||(||ELevel||level,|
|const char *||message|
Write a message with level.
message, which has the given
level, to a log. If this method returns true then CLog will stop passing the message to all outputters in the outputter chain, otherwise it continues. Most implementations should return true.