Nazara Engine
0.4
A fast, complete, cross-platform API designed for game development
|
Core class that represents a logger writing to standard output (stdout, stderr) More...
Public Member Functions | |
StdLogger (const StdLogger &)=default | |
StdLogger (StdLogger &&)=default | |
void | EnableStdReplication (bool enable) override |
Enables replication to standard output. More... | |
bool | IsStdReplicationEnabled () const override |
Gets the standard output replication status. More... | |
void | Write (const String &string) override |
Writes to the console. More... | |
void | WriteError (ErrorType type, const String &error, unsigned int line=0, const char *file=nullptr, const char *function=nullptr) override |
Writes an error to the console. More... | |
StdLogger & | operator= (const StdLogger &)=default |
StdLogger & | operator= (StdLogger &&)=default |
Core class that represents a logger writing to standard output (stdout, stderr)
|
overridevirtual |
Enables replication to standard output.
Does nothing, as the std logger always write to standard output
enable | Unused argument |
Implements Nz::AbstractLogger.
|
overridevirtual |
Gets the standard output replication status.
Implements Nz::AbstractLogger.
|
overridevirtual |
Writes to the console.
string | The log to write to the console |
Implements Nz::AbstractLogger.
|
overridevirtual |
Writes an error to the console.
type | The error type |
error | The error text |
line | The line the error occurred |
file | The file the error occurred |
function | The function the error occurred |
Reimplemented from Nz::AbstractLogger.