44 #ifndef INCLUDED_AI_DEFAULTLOGGER 45 #define INCLUDED_AI_DEFAULTLOGGER 58 #define ASSIMP_DEFAULT_LOG_NAME "AssimpLog.txt" 103 static void set (
Logger *logger);
116 static bool isNullLogger();
126 unsigned int severity);
131 unsigned int severity);
148 void OnDebug(
const char* message);
151 void OnInfo(
const char* message);
154 void OnWarn(
const char* message);
157 void OnError(
const char* message);
161 void WriteToStreams(
const char* message,
ErrorSeverity ErrorSev );
168 unsigned int GetThreadID();
172 typedef std::vector<LogStreamInfo*> StreamArray;
173 typedef std::vector<LogStreamInfo*>::iterator StreamIt;
174 typedef std::vector<LogStreamInfo*>::const_iterator ConstStreamIt;
181 StreamArray m_StreamArray;
184 char lastMsg[MAX_LOG_MESSAGE_LENGTH*2];
191 #endif // !! INCLUDED_AI_DEFAULTLOGGER Assimp's CPP-API and all internal APIs.
Definition: DefaultIOStream.h:51
CPP-API: Empty logging implementation.
Definition: NullLogger.hpp:58
ErrorSeverity
Description for severity of a log message.
Definition: Logger.hpp:87
CPP-API: Interface to the file system.
Definition: IOSystem.hpp:84
MSVC only: Stream the log the the debugger (this relies on OutputDebugString from the Win32 SDK) ...
Definition: types.h:443
Abstract base class 'Logger', base of the logging system.
LogSeverity
Log severity to describe the granularity of logging.
Definition: Logger.hpp:73
Abstract base class 'LogStream', representing an output log stream.
CPP-API: Abstract interface for log stream implementations.
Definition: LogStream.hpp:60
Stream the log to a file.
Definition: types.h:432
#define ASSIMP_DEFAULT_LOG_NAME
default name of logfile
Definition: DefaultLogger.hpp:58
CPP-API: Primary logging facility of Assimp.
Definition: DefaultLogger.hpp:73
CPP-API: Abstract interface for logger implementations.
Definition: Logger.hpp:62