modm API documentation for STM32F051T8Y6
modm::log Namespace Reference

Logger. More...

Classes

class  DefaultStyle
 This is an empty style More...
 
class  Logger
 Interface to the Logger More...
 
class  Prefix
 Add a prefix to the log message More...
 
class  StdColour
 This style colours the given stream in the color given by the template argument More...
 
class  Style
 This is the interface to all style-classes of the logger More...
 
class  StyleWrapper
 Wrapper to use the Style as a IODevice in the Logger More...
 

Enums

enum  Level {
  DEBUG, INFO, WARNING, ERROR,
  DISABLED
}
 Log levels. More...
 
enum  Colour {
  BLACK, RED, GREEN, YELLOW,
  BLUE, MAGENTA, TURQUOISE, WHITE,
  NONE
}
 

Variables

Output streams

Don't use this instances directly! Prefer an access through the MODM_LOG_DEBUG, MODM_LOG_INFO, MODM_LOG_WARNING and MODM_LOG_ERROR macros.

Logger debug
 log device to take messages on DEBUG level
 
Logger info
 log device to take messages on INFO level
 
Logger warning
 log device to take messages on WARNING level
 
Logger error
 log device to take messages on ERROR level
 

Detailed Description