BTK::IO::LOGGING Namespace Reference


Classes

class  CachedLogger
 A Logger object that filters duplicate messages. More...
class  FilterLogger
 A logger that filters for specific message types. More...
struct  LoggerInterface
 An abstract base class specifying the interface for all BTK Logger objects. More...
class  SimpleLogger
class  Logger
 A class for managing all BTK-related logging and error output. More...
class  LoggerLevel
 A bit-field class for identifying logger message types. More...
class  LoggerStreambuf
class  LoggerStream

Functions

const unsigned ALL (static_cast< unsigned >(-1))
void log_msg (std::string const &msg, LoggerLevel msg_level=EVERYTHING)
 A convenience function for writing log messages to the logger.
void error_msg (std::string const &msg)
 A convenience function for writing error messages to the logger.

Variables

static const LoggerLevel NOTHING (0, 0)
 Null LoggerLevel flag -- accept nothing.
static const LoggerLevel EVERYTHING (ALL, ALL)
 Universal LoggerLevel flag -- accept everything.
static const LoggerLevel ERROR (1, ALL)
 Message level constants. Error messages.
static const LoggerLevel WARNING (2, ALL)
 Warning messages.
static const LoggerLevel TRACE (4, ALL)
 Trace messages.
static const LoggerLevel DEBUG (8, ALL)
 Debugging messages.
static const LoggerLevel ALL_LEVELS (ALL, ALL)
 All message types.
static const LoggerLevel ATOMS (ALL, 1)
 Message source constants. The atom framework.
static const LoggerLevel CONTAINERS (ALL, 2)
 The container framework.
static const LoggerLevel ITERATORS (ALL, 4)
 The iterator framework.
static const LoggerLevel ALGORITHMS (ALL, 8)
 The BTK algorithms.
static const LoggerLevel IO (ALL, 16)
 The input/output framework.
static const LoggerLevel MATH (ALL, 32)
 The math framework.
static const LoggerLevel UTILITY (ALL, 64)
 The utility framework.
static const LoggerLevel ALL_SOURCES (ALL, ALL)
 All message sources.


Function Documentation

const unsigned BTK::IO::LOGGING::ALL ( static_cast< unsigned >  (-1)  ) 

void BTK::IO::LOGGING::error_msg ( std::string const &  msg  ) 

A convenience function for writing error messages to the logger.

void BTK::IO::LOGGING::log_msg ( std::string const &  msg,
LoggerLevel  msg_level = EVERYTHING 
)

A convenience function for writing log messages to the logger.


Variable Documentation

const LoggerLevel ALGORITHMS(ALL, 8) [static]

The BTK algorithms.

const LoggerLevel ALL_LEVELS(ALL, ALL) [static]

All message types.

const LoggerLevel ALL_SOURCES(ALL, ALL) [static]

All message sources.

const LoggerLevel ATOMS(ALL, 1) [static]

Message source constants. The atom framework.

const LoggerLevel CONTAINERS(ALL, 2) [static]

The container framework.

const LoggerLevel DEBUG(8, ALL) [static]

Debugging messages.

const LoggerLevel ERROR(1, ALL) [static]

Message level constants. Error messages.

const LoggerLevel EVERYTHING(ALL, ALL) [static]

Universal LoggerLevel flag -- accept everything.

const LoggerLevel IO(ALL, 16) [static]

The input/output framework.

const LoggerLevel ITERATORS(ALL, 4) [static]

The iterator framework.

const LoggerLevel MATH(ALL, 32) [static]

The math framework.

const LoggerLevel NOTHING(0, 0) [static]

Null LoggerLevel flag -- accept nothing.

const LoggerLevel TRACE(4, ALL) [static]

Trace messages.

const LoggerLevel UTILITY(ALL, 64) [static]

The utility framework.

const LoggerLevel WARNING(2, ALL) [static]

Warning messages.


Generated on Sun Jul 15 20:46:36 2007 for BTK Core by  doxygen 1.5.1