7 #include "ILogReceiver.h" 8 #include "cAudioDefines.h" 23 virtual void logCritical(
const char* sender,
const char *msg, ... ) = 0;
29 virtual void logError(
const char* sender,
const char *msg, ... ) = 0;
35 virtual void logWarning(
const char* sender,
const char *msg, ... ) = 0;
41 virtual void logInfo(
const char* sender,
const char *msg, ... ) = 0;
47 virtual void logDebug(
const char* sender,
const char *msg, ... ) = 0;
virtual void logError(const char *sender, const char *msg,...)=0
Used to log an error message to the logging system.
virtual void logInfo(const char *sender, const char *msg,...)=0
Used to log an informational message to the logging system.
virtual bool registerLogReceiver(ILogReceiver *receiver, const char *name)=0
Register Log Receiver.
virtual void logDebug(const char *sender, const char *msg,...)=0
Used to log a debug message to the logging system.
LogLevel
Enum of all supported log levels in cAudio.
virtual void setLogLevel(const LogLevel &logLevel)=0
Sets the minimum log level that the engine will send to log receivers.
Interface for all logging operations in cAudio.
virtual void unRegisterLogReceiver(const char *name)=0
Unregister a Log Receiver.
virtual void logCritical(const char *sender, const char *msg,...)=0
Used to log a critical error message to the logging system.
virtual ILogReceiver * getLogReceiver(const char *name)=0
Returns a registered log receiver.
virtual const LogLevel & getLogLevel() const =0
Returns the minimum log level that will be sent to the log receivers.
virtual bool isLogReceiverRegistered(const char *name)=0
Returns whether an log receiver is currently registered.
virtual void logWarning(const char *sender, const char *msg,...)=0
Used to log a warning to the logging system.
Interface for receiving log messages and relaying them to some kind of output device or stream...
Main namespace for the entire cAudio library.