10 #include "cSTLAllocator.h" 11 #include "cAudioString.h" 21 virtual void logCritical(
const char* sender,
const char *msg, ... );
22 virtual void logError(
const char* sender,
const char *msg, ... );
23 virtual void logWarning(
const char* sender,
const char *msg, ... );
24 virtual void logInfo(
const char* sender,
const char *msg, ... );
25 virtual void logDebug(
const char* sender,
const char *msg, ... );
36 void broadcastMessage(
LogLevel level,
const char* sender,
const char* msg, va_list args );
39 unsigned long StartTime;
40 char TempTextBuf[2048];
42 cAudioMap<cAudioString, ILogReceiver*>::Type Receivers;
virtual const LogLevel & getLogLevel() const
Returns the minimum log level that will be sent to the log receivers.
virtual void logWarning(const char *sender, const char *msg,...)
Used to log a warning to the logging system.
virtual void setLogLevel(const LogLevel &logLevel)
Sets the minimum log level that the engine will send to log receivers.
LogLevel
Enum of all supported log levels in cAudio.
virtual bool isLogReceiverRegistered(const char *name)
Returns whether an log receiver is currently registered.
virtual void unRegisterLogReceiver(const char *name)
Unregister a Log Receiver.
Interface for all logging operations in cAudio.
virtual bool registerLogReceiver(ILogReceiver *receiver, const char *name)
Register Log Receiver.
virtual ILogReceiver * getLogReceiver(const char *name)
Returns a registered log receiver.
virtual void logError(const char *sender, const char *msg,...)
Used to log an error message to the logging system.
virtual void logCritical(const char *sender, const char *msg,...)
Used to log a critical error message to the logging system.
virtual void logInfo(const char *sender, const char *msg,...)
Used to log an informational message to the logging system.
Interface for receiving log messages and relaying them to some kind of output device or stream.
virtual void logDebug(const char *sender, const char *msg,...)
Used to log a debug message to the logging system.
Main namespace for the entire cAudio library.