boost::logging::level Namespace Reference

Handling levels - classes that can hold and/or deal with levels - filters and level holders. More...


Classes

struct  holder_no_ts
 Filter - holds the level, in a non-thread-safe way. More...
struct  holder_ts
 Filter - holds the level, in a thread-safe way. More...
struct  holder_compile_time
 Filter - holds the level - and tells you at compile time if a filter is enabled or not. More...
struct  holder_tss_with_cache
 Filter - holds the level, in a thread-safe way, using TLS. More...

Typedefs

typedef unsigned int type


Detailed Description

Handling levels - classes that can hold and/or deal with levels - filters and level holders.

By default we have these levels:

Depending on which level is enabled for your application, some messages will reach the log: those messages having at least that level. For instance, if info level is enabled, all logged messages will reach the log. If warning level is enabled, all messages are logged, but the warnings. If debug level is enabled, messages that have levels debug, error, fatal will be logged.


Typedef Documentation

typedef unsigned int boost::logging::level::type

the higher the level , the more critical the error



Copyright John Torjo © 2007
Have a question/ suggestion/ comment? Send me feedback