Path Tracer
|
CPP-API: Empty logging implementation. More...
#include <NullLogger.hpp>
Public Member Functions | |
void | OnDebug (const char *message) |
Logs a debug message. | |
void | OnVerboseDebug (const char *message) |
Logs a verbose debug message. | |
void | OnInfo (const char *message) |
Logs an info message. | |
void | OnWarn (const char *message) |
Logs a warning message. | |
void | OnError (const char *message) |
Logs an error message. | |
bool | attachStream (LogStream *pStream, unsigned int severity) |
Detach a still attached stream from logger. | |
bool | detachStream (LogStream *pStream, unsigned int severity) |
Detach a still attached stream from logger. | |
![]() | |
virtual | ~Logger () |
Virtual destructor. | |
void | debug (const char *message) |
Writes a debug message. More... | |
void | debug (const std::string &message) |
void | verboseDebug (const char *message) |
Writes a debug message. More... | |
void | verboseDebug (const std::string &message) |
void | info (const char *message) |
Writes a info message. More... | |
void | info (const std::string &message) |
void | warn (const char *message) |
Writes a warning message. More... | |
void | warn (const std::string &message) |
void | error (const char *message) |
Writes an error message. More... | |
void | error (const std::string &message) |
void | setLogSeverity (LogSeverity log_severity) |
Set a new log severity. More... | |
LogSeverity | getLogSeverity () const |
Get the current log severity. | |
Additional Inherited Members | |
![]() | |
enum | LogSeverity { NORMAL, DEBUG, VERBOSE } |
Log severity to describe the granularity of logging. More... | |
enum | ErrorSeverity { Debugging = 1, Info = 2, Warn = 4, Err = 8 } |
Description for severity of a log message. More... | |
![]() | |
Logger () AI_NO_EXCEPT | |
Logger (LogSeverity severity) | |
![]() | |
LogSeverity | m_Severity |
CPP-API: Empty logging implementation.
Does nothing! Used by default if the application hasn't requested a custom logger via #DefaultLogger::set() or #DefaultLogger::create();