Go to the source code of this file.
Namespaces | |
namespace | templog |
Typedefs | |
typedef visual_studio_formating_policy< sev_aud_formating_policy > | std_formating_policy |
typedef windbg_write_policy | std_write_policy |
typedef non_filtering_logger< std_formating_policy, std_write_policy > | global_logger |
Enumerations | |
enum | severity { sev_debug = 1, sev_info, sev_message, sev_warning, sev_error, sev_fatal } |
enum | audience { aud_developer = 1, aud_support, aud_user } |
Functions | |
const char * | get_name (severity sev) |
const char * | get_short_name (severity sev) |
const char * | get_name (audience aud) |
const char * | get_short_name (audience aud) |
template<int Sev_, int Aud_, class ParamList_, typename Param_> | |
log_intermediate< Sev_, Aud_, false, templ_meta::nil > | operator<< (const log_intermediate< Sev_, Aud_, false, ParamList_ > &, const Param_ &) |
template<int Sev_, int Aud_, class ParamList_, typename Param_> | |
log_intermediate< Sev_, Aud_, true, templ_meta::tuple< const Param_ *, ParamList_ > > | operator<< (const log_intermediate< Sev_, Aud_, true, ParamList_ > &lim, const Param_ &p) |
This file defines all the actual logging stuff.
Definition in file logging.h.
|
|
|
|
|
Global logger This is the global logger which, eventually, all other loggers forward log messages * to. There's no need to use this directly. |
|
Logging severity This determines a log statement's severity. Log messages can be filtered by their severity. |
|
Logging audience This determines a log statement's target audience. Log messages can be filtered by their audience. |
|
Retrieves a textual description for a severity |
|
Retrieves a short (three letters) textual description for a severity Referenced by templog::sev_aud_formating_policy::write(). |
|
Retrieves a textual description for an audience |
|
Retrieves a short (three letters) textual description for an audience |
|
Adds a parameter to a subexpression of a log statement This version is used for log statements that will be discarded at compile time. |
|
Adds a parameter to a subexpression of a log statement This version is used for log statements that will not be discarded at compile time. |