cAudio
2.3.0
3d Audio Engine
|
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 logCritical(const char *sender, const char *msg,...)=0
Used to log a critical error message to the logging system.
virtual const LogLevel & getLogLevel() const =0
Returns the minimum log level that will be sent to the log receivers.
virtual void logWarning(const char *sender, const char *msg,...)=0
Used to log a warning to the logging system.
virtual void logDebug(const char *sender, const char *msg,...)=0
Used to log a debug message to the logging system.
virtual bool isLogReceiverRegistered(const char *name)=0
Returns whether an log receiver is currently registered.
Interface for receiving log messages and relaying them to some kind of output device or stream.
Main namespace for the entire cAudio library.
Interface for all logging operations in cAudio.
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.
virtual bool registerLogReceiver(ILogReceiver *receiver, const char *name)=0
Register Log Receiver.
virtual ILogReceiver * getLogReceiver(const char *name)=0
Returns a registered log receiver.
virtual void unRegisterLogReceiver(const char *name)=0
Unregister a Log Receiver.
virtual void logInfo(const char *sender, const char *msg,...)=0
Used to log an informational message to the logging system.