Write log to debugger. More...
#include <CMSWindowsDebugOutputter.h>
Inherits ILogOutputter.
Public Member Functions | |
| virtual void | open (const char *title) |
| Open the outputter. | |
| virtual void | close () |
| Close the outputter. | |
| virtual void | show (bool showIfEmpty) |
| Show the outputter. | |
| virtual bool | write (ELevel level, const char *message) |
| Write a message with level. | |
| virtual void | flush () |
Write log to debugger.
This outputter writes output to the debugger. In Visual Studio, this can be seen in the Output window.
Definition at line 28 of file CMSWindowsDebugOutputter.h.
| void CMSWindowsDebugOutputter::close | ( | ) | [virtual] |
Close the outputter.
Close the outputter. Calling this method on an already closed outputter must have no effect.
Implements ILogOutputter.
Definition at line 40 of file CMSWindowsDebugOutputter.cpp.
| void CMSWindowsDebugOutputter::open | ( | const char * | title | ) | [virtual] |
Open the outputter.
Opens the outputter for writing. Calling this method on an already open outputter must have no effect.
Implements ILogOutputter.
Definition at line 35 of file CMSWindowsDebugOutputter.cpp.
| void CMSWindowsDebugOutputter::show | ( | bool | showIfEmpty | ) | [virtual] |
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 showIfEmpty is false then the implementation may optionally only show the log if it's not empty.
Implements ILogOutputter.
Definition at line 45 of file CMSWindowsDebugOutputter.cpp.
| bool CMSWindowsDebugOutputter::write | ( | ELevel | level, | |
| const char * | message | |||
| ) | [virtual] |
Write a message with level.
Writes 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.
Implements ILogOutputter.
Definition at line 50 of file CMSWindowsDebugOutputter.cpp.
1.7.1