Assimp: Assimp::NullLogger Class Reference

assimp - Open Asset Import Library

Assimp::NullLogger Class Reference

CPP-API: Empty logging implementation. More...

Inherits Assimp::Logger.

Public Member Functions

bool attachStream (LogStream *pStream, unsigned int severity)
 Detach a still attached stream from logger. More...
 
bool detatchStream (LogStream *pStream, unsigned int severity)
 Detach a still attached stream from logger. More...
 
void OnDebug (const char *message)
 Logs a debug message. More...
 
void OnError (const char *message)
 Logs an error message. More...
 
void OnInfo (const char *message)
 Logs an info message. More...
 
void OnWarn (const char *message)
 Logs a warning message. More...
 
- Public Member Functions inherited from Assimp::Logger
void debug (const char *message)
 Writes a debug message. More...
 
void debug (const std::string &message)
 
void error (const char *message)
 Writes an error message. More...
 
void error (const std::string &message)
 
LogSeverity getLogSeverity () const
 Get the current log severity. More...
 
void info (const char *message)
 Writes a info message. More...
 
void info (const std::string &message)
 
void setLogSeverity (LogSeverity log_severity)
 Set a new log severity. More...
 
void warn (const char *message)
 Writes a warning message. More...
 
void warn (const std::string &message)
 
virtual ~Logger ()
 Virtual destructor. More...
 

Additional Inherited Members

- Public Types inherited from Assimp::Logger
- Protected Member Functions inherited from Assimp::Logger
 Logger ()
 Default constructor. More...
 
 Logger (LogSeverity severity)
 Construction with a given log severity. More...
 
- Protected Attributes inherited from Assimp::Logger
LogSeverity m_Severity
 Logger severity. More...
 

Detailed Description

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();

Member Function Documentation

bool Assimp::NullLogger::attachStream ( LogStream pStream,
unsigned int  severity 
)
inlinevirtual

Detach a still attached stream from logger.

Implements Assimp::Logger.

bool Assimp::NullLogger::detatchStream ( LogStream pStream,
unsigned int  severity 
)
inlinevirtual

Detach a still attached stream from logger.

Implements Assimp::Logger.

void Assimp::NullLogger::OnDebug ( const char *  message)
inlinevirtual

Logs a debug message.

Implements Assimp::Logger.

void Assimp::NullLogger::OnError ( const char *  message)
inlinevirtual

Logs an error message.

Implements Assimp::Logger.

void Assimp::NullLogger::OnInfo ( const char *  message)
inlinevirtual

Logs an info message.

Implements Assimp::Logger.

void Assimp::NullLogger::OnWarn ( const char *  message)
inlinevirtual

Logs a warning message.

Implements Assimp::Logger.

The documentation for this class was generated from the following file:
Generated on Sun Feb 21 2016 19:42:29 for Assimp by   doxygen 1.8.11