7 #ifndef NAZARA_FILELOGGER_HPP 8 #define NAZARA_FILELOGGER_HPP 10 #include <Nazara/Prerequesites.hpp> 11 #include <Nazara/Core/AbstractLogger.hpp> 12 #include <Nazara/Core/File.hpp> 13 #include <Nazara/Core/StdLogger.hpp> 25 void EnableTimeLogging(
bool enable);
26 void EnableStdReplication(
bool enable)
override;
28 bool IsStdReplicationEnabled()
const override;
29 bool IsTimeLoggingEnabled()
const;
31 void Write(
const String&
string)
override;
32 void WriteError(ErrorType type,
const String& error,
unsigned int line = 0,
const char* file =
nullptr,
const char*
function =
nullptr)
override;
40 bool m_forceStdOutput;
41 bool m_stdReplicationEnabled;
42 bool m_timeLoggingEnabled;
46 #endif // NAZARA_FILELOGGER_HPP TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
Core class that represents a logger writing to standard output (stdout, stderr)
Definition: StdLogger.hpp:15
Core class that represents a string.
Definition: String.hpp:22
Core class that represents a file.
Definition: File.hpp:29
Core class that represents a file logger.
Definition: FileLogger.hpp:17
Core class that represents the behaviour of the log classes.
Definition: AbstractLogger.hpp:15