#include <H:/WOSH/win32_vc2010/src/framework/gui/components/LogHandlerQRenderer.h>
Public Member Functions | |
| WRESULT | open () |
| Open the output (device) for writing. Reentrant. | |
| WRESULT | close () |
| Close the output (device). Reentrant. | |
| WRESULT | flush () |
| Force writing the buffer to the output (device). Reentrant. | |
| WRESULT | setProtocol (const std::string &) |
| Set the current protocol string: a standard way to reconfigure handler. | |
| bool | isOpen () const |
| Evaluate if the output (device) is open for writing. Reentrant. | |
| virtual std::string | getProtocol () const |
| Get the current protocol string. | |
| virtual void | log (const char *context, LogLevel level, const char *format, va_list args) |
| Log a generic message (using same format as printf). Reentrant. | |
Definition at line 55 of file LogHandlerQRenderer.h.
| WRESULT wosh::gui::LogHandlerQRenderer::close | ( | ) | [virtual] |
Close the output (device). Reentrant.
Implements wosh::LogHandler.
Definition at line 56 of file LogHandlerQRenderer.cpp.
References WRET_OK.
| WRESULT wosh::gui::LogHandlerQRenderer::flush | ( | ) | [inline, virtual] |
Force writing the buffer to the output (device). Reentrant.
Implements wosh::LogHandler.
Definition at line 74 of file LogHandlerQRenderer.h.
References WRET_OK.
| virtual std::string wosh::gui::LogHandlerQRenderer::getProtocol | ( | ) | const [inline, virtual] |
Get the current protocol string.
Implements wosh::LogHandler.
Definition at line 80 of file LogHandlerQRenderer.h.
References wosh::LogHandler::configMux.
| bool wosh::gui::LogHandlerQRenderer::isOpen | ( | ) | const [virtual] |
Evaluate if the output (device) is open for writing. Reentrant.
Implements wosh::LogHandler.
Definition at line 62 of file LogHandlerQRenderer.cpp.
| void wosh::gui::LogHandlerQRenderer::log | ( | const char * | context, |
| LogLevel | level, | ||
| const char * | format, | ||
| va_list | args | ||
| ) | [virtual] |
Log a generic message (using same format as printf). Reentrant.
| context | [in] c string representing the log-context, may be NULL |
| level | [in] LogLevel of the message |
| format | [in] c string that contains the text to be written |
| args | [in] variable-arguments parameter |
Implements wosh::LogHandler.
Definition at line 83 of file LogHandlerQRenderer.cpp.
References wosh::_GET_LogLevelIndex().
| WRESULT wosh::gui::LogHandlerQRenderer::open | ( | ) | [virtual] |
Open the output (device) for writing. Reentrant.
Implements wosh::LogHandler.
Definition at line 50 of file LogHandlerQRenderer.cpp.
References WRET_OK.
| WRESULT wosh::gui::LogHandlerQRenderer::setProtocol | ( | const std::string & | protocol_string ) | [inline, virtual] |
Set the current protocol string: a standard way to reconfigure handler.
| protocol_string | [in] literal string representing log-handler type and its settings, separator is '://' |
Implements wosh::LogHandler.
Definition at line 76 of file LogHandlerQRenderer.h.
References WRET_ERR_ILLEGAL_USE.