Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
|
CPP-API: Empty logging implementation. More...
#include <NullLogger.hpp>
Inherits Assimp::Logger.
Public Member Functions | |
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. | |
void | OnDebug (const char *message) |
Logs a debug message. | |
void | OnError (const char *message) |
Logs an error message. | |
void | OnInfo (const char *message) |
Logs an info message. | |
void | OnVerboseDebug (const char *message) |
Logs a verbose debug message. | |
void | OnWarn (const char *message) |
Logs a warning message. | |
![]() | |
void | debug (const char *message) |
Writes a debug message. | |
template<typename... T> | |
void | debug (T &&... args) |
void | error (const char *message) |
Writes an error message. | |
template<typename... T> | |
void | error (T &&... args) |
LogSeverity | getLogSeverity () const |
Get the current log severity. | |
void | info (const char *message) |
Writes a info message. | |
template<typename... T> | |
void | info (T &&... args) |
void | setLogSeverity (LogSeverity log_severity) |
Set a new log severity. | |
void | verboseDebug (const char *message) |
Writes a debug message. | |
template<typename... T> | |
void | verboseDebug (T &&... args) |
void | warn (const char *message) |
Writes a warning message. | |
template<typename... T> | |
void | warn (T &&... args) |
virtual | ~Logger () |
Virtual destructor. | |
Additional Inherited Members | |
![]() | |
enum | ErrorSeverity { Debugging = 1 , Info = 2 , Warn = 4 , Err = 8 } |
Description for severity of a log message. More... | |
enum | LogSeverity { NORMAL , DEBUGGING , VERBOSE } |
Log severity to describe the granularity of logging. More... | |
![]() | |
std::string | formatMessage (Assimp::Formatter::format f) |
template<typename... T, typename U > | |
std::string | formatMessage (Assimp::Formatter::format f, U &&u, T &&... args) |
Logger () AI_NO_EXCEPT | |
Default constructor. | |
Logger (LogSeverity severity) | |
Construction with a given log 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();
Detach a still attached stream from logger.
Implements Assimp::Logger.
Detach a still attached stream from logger.
Implements Assimp::Logger.
Logs a debug message.
Implements Assimp::Logger.
Logs an error message.
Implements Assimp::Logger.
Logs an info message.
Implements Assimp::Logger.
Logs a verbose debug message.
Implements Assimp::Logger.
Logs a warning message.
Implements Assimp::Logger.