EzLogger

ext_data Struct Reference

#include <ezlogger_misc.hpp>

Inheritance diagram for ext_data:

levels List of all members.

Detailed Description

ext_data is a struct used to hold extended data for format policy. The current default format policy only uses m_severity_level, but the other fields are available for custom format policies that which to add additional logging.
To add ext_data to a debug macro, use the derived class axter::levels. Example Usage

		EZLOGGERVLSTREAM(axter::levels(axter::log_often, axter::warn, "Xyz Facility")) << somedata << " " << i << std::endl;
		
See also:
levels

Definition at line 21 of file ezlogger_misc.hpp.

Public Member Functions

 ext_data (severity severity_level, const char *pretty_function=NULL, const char *facility=NULL, const char *tag=NULL, int code=0)

Public Attributes

severity m_severity_level
const char * m_pretty_function
const char * m_facility
const char * m_tag
int m_code


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]