|
Assimp v3.1.1 (June 2014)
|
CPP-API: Abstract interface for log stream implementations. More...
#include <LogStream.hpp>
Inherits Intern::AllocateFromAssimpHeap.
Inherited by Assimp::FileLogStream, Assimp::StdOStreamLogStream, AssimpView::CMyLogStream, and LogToCallbackRedirector.
Public Member Functions | |
| virtual void | write (const char *message)=0 |
| Overwrite this for your own output methods. More... | |
| virtual | ~LogStream () |
| Virtual destructor More... | |
Static Public Member Functions | |
| static LogStream * | createDefaultStream (aiDefaultLogStream stream, const char *name="AssimpLog.txt", IOSystem *io=NULL) |
| Creates a default log stream. More... | |
Protected Member Functions | |
| LogStream () | |
| Default constructor. More... | |
CPP-API: Abstract interface for log stream implementations.
Several default implementations are provided, see aiDefaultLogStream for more details. Writing your own implementation of LogStream is just necessary if these are not enough for your purpose.
|
inlineprotected |
Default constructor.
|
inlinevirtual |
Virtual destructor
|
static |
|
pure virtual |
Overwrite this for your own output methods.
Log messages may consist of multiple lines and you shouldn't expect a consistent formatting. If you want custom formatting (e.g. generate HTML), supply a custom instance of Logger to #DefaultLogger:set(). Usually you can expect that a log message is exactly one line and terminated with a single
character.
| message | Message to be written |
Implemented in LogToCallbackRedirector, Assimp::FileLogStream, Assimp::StdOStreamLogStream, and AssimpView::CMyLogStream.