Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
log.h File Reference

Logging. More...

Include dependency graph for log.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  roc::core::Logger
 Logger. More...
 

Namespaces

 roc
 Root namespace.
 
 roc::core
 Basic building blocks.
 

Macros

#define roc_log(...)   ::roc::core::Logger::instance().print(ROC_STRINGIZE(ROC_MODULE), __VA_ARGS__)
 Print message to log. More...
 

Typedefs

typedef void(* roc::core::LogHandler) (LogLevel level, const char *module, const char *message)
 Log handler. More...
 

Enumerations

enum  roc::LogLevel {
  roc::LogNone, roc::LogError, roc::LogInfo, roc::LogDebug,
  roc::LogTrace
}
 Log level. More...
 
enum  roc::core::ColorsMode { roc::core::ColorsDisabled, roc::core::ColorsEnabled }
 Colors mode. More...
 

Variables

const LogLevel roc::core::DefaultLogLevel = LogError
 Default log level. More...
 
const ColorsMode roc::core::DefaultColorsMode = ColorsDisabled
 Default colors mode. More...
 

Detailed Description

Logging.

Definition in file log.h.

Macro Definition Documentation

#define roc_log (   ...)    ::roc::core::Logger::instance().print(ROC_STRINGIZE(ROC_MODULE), __VA_ARGS__)

Print message to log.

Definition at line 25 of file log.h.