Assimp
v4.1. (December 2018)
|
Logstream to write into a file. More...
Inherits Assimp::LogStream.
Public Member Functions | |
FileLogStream (const char *file, IOSystem *io=NULL) | |
void | write (const char *message) |
Overwrite this for your own output methods. More... | |
~FileLogStream () | |
![]() | |
virtual | ~LogStream () |
Virtual destructor More... | |
Additional Inherited Members | |
![]() | |
static LogStream * | createDefaultStream (aiDefaultLogStream stream, const char *name="AssimpLog.txt", IOSystem *io=nullptr) |
Creates a default log stream. More... | |
![]() | |
LogStream () AI_NO_EXCEPT | |
Default constructor. More... | |
Logstream to write into a file.
|
inline |
|
inline |
|
inlinevirtual |
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 |
Implements Assimp::LogStream.