OpenANN  1.1.0
An open source library for artificial neural networks.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions
OpenANN::Log Class Reference

Global logger. More...

#include <Logger.h>

Public Types

enum  LogLevel { DISABLED = 0, ERROR, INFO, DEBUG }
 

Public Member Functions

 Log ()
 
virtual ~Log ()
 
std::ostream & get (LogLevel level, const char *name_space)
 

Static Public Member Functions

static std::ostream & getStream ()
 
static LogLevelgetLevel ()
 
static void setDisabled ()
 
static void setError ()
 
static void setInfo ()
 
static void setDebug ()
 

Detailed Description

Global logger.

Member Enumeration Documentation

Enumerator
DISABLED 

Disable logging completely.

ERROR 

Only errors will be logged.

INFO 

Interesting runtime events.

DEBUG 

Detailed information.

Constructor & Destructor Documentation

OpenANN::Log::Log ( )
virtual OpenANN::Log::~Log ( )
virtual

Member Function Documentation

std::ostream& OpenANN::Log::get ( LogLevel  level,
const char *  name_space 
)
static LogLevel& OpenANN::Log::getLevel ( )
static
static std::ostream& OpenANN::Log::getStream ( )
static
static void OpenANN::Log::setDebug ( )
static
static void OpenANN::Log::setDisabled ( )
static
static void OpenANN::Log::setError ( )
static
static void OpenANN::Log::setInfo ( )
static

The documentation for this class was generated from the following file: