nux-0.9.46
|
#include <NuxCore/OutputDevice.h>
Public Member Functions | |
LogOutputDevice () | |
virtual | ~LogOutputDevice () |
virtual void | Serialize (const TCHAR *log_data, const TCHAR *log_prefix, int severity)=0 |
virtual void | Flush () |
virtual void | Shutdown () |
VARARG_DECL (void, void,{}, LogFunction, VARARG_NONE, const TCHAR *, VARARG_EXTRA(int severity), VARARG_EXTRA(severity)) | |
void | Enable () |
void | Disable () |
Data Fields | |
BOOL | m_terminated |
Protected Attributes | |
bool | _object_destroyed |
bool | _enabled |
nux::LogOutputDevice::LogOutputDevice | ( | ) |
virtual nux::LogOutputDevice::~LogOutputDevice | ( | ) | [virtual] |
void nux::LogOutputDevice::Disable | ( | ) |
void nux::LogOutputDevice::Enable | ( | ) |
virtual void nux::LogOutputDevice::Flush | ( | ) | [virtual] |
Reimplemented in nux::LogFileOutput, and nux::LogOutputRedirector.
virtual void nux::LogOutputDevice::Serialize | ( | const TCHAR * | log_data, |
const TCHAR * | log_prefix, | ||
int | severity | ||
) | [pure virtual] |
Implemented in nux::NullOutput, nux::LogFileOutput, nux::VisualOutputConsole, nux::PrintfOutputConsole, and nux::LogOutputRedirector.
virtual void nux::LogOutputDevice::Shutdown | ( | ) | [virtual] |
Reimplemented in nux::LogFileOutput, and nux::LogOutputRedirector.
nux::LogOutputDevice::VARARG_DECL | ( | void | , |
void | |||
) |
bool nux::LogOutputDevice::_enabled [protected] |
bool nux::LogOutputDevice::_object_destroyed [protected] |