EzLogger

ezlogger_verbosity_level_policy Struct Reference

#include <ezlogger_verbosity_level_policy.hpp>

Inheritance diagram for ezlogger_verbosity_level_policy:

ezlogger<> ezfunction_tracker List of all members.

Detailed Description

Defines implementation for setting initial global verbosity level. See VERBOSITY_LEVEL_LOGGING detail description of verbosity level logic.

Description

This is the default policy for setting the initial state of the global verbosity level. It may be desirable to replace this policy so that the initial state is set by a registry key value, or by an environmental value.
To replace this policy, define EZLOGGER_CUSTOM_VERBOSITY_LEVEL_POLICY before including ezlogger.hpp
And also include the header for the replacement policy.
Example:
#define EZLOGGER_CUSTOM_VERBOSITY_LEVEL_POLICY
#include "MyVerbosityLevelPolicy.h"
#include "ezlogger.hpp"
The replacement policy is required to have a get_verbosity_level_tolerance() method. That's the only method called by ezlogger.
A policy that requires the global verbosity level to stay the same for the entire execution of the program, should not have a public set_verbosity_level_tolerance() method.

Definition at line 32 of file ezlogger_verbosity_level_policy.hpp.

Static Public Member Functions

static verbosity get_verbosity_level_tolerance ()
static void set_verbosity_level_tolerance (verbosity NewValue)


The documentation for this struct was generated from the following file:
Generated on Wed Mar 29 00:31:09 2006 for EzLogger by  doxygen 1.4.6.Axter [Axter-Extended-Version]