Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

utils::logging::msg Class Reference

a message prepared for logging. More...

#include <log.h>

Inheritance diagram for utils::logging::msg::

string utils::logging::dolog List of all members.

Public Methods

 msg (const char *f, int l)
 c'tor. More...

 msg (const msg &m)
 copy c'tor. More...

msg & operator= (const msg &m)
 assignment. More...


Public Attributes

const char * file
 The source file name. More...

int line
 The line number. More...


Detailed Description

a message prepared for logging.

Messages like this are to be handled by listener objects. Usually they hold source file information, which could be used for filtering messages.


Constructor & Destructor Documentation

utils::logging::msg::msg const char *    f,
int    l
[inline]
 

c'tor.

utils::logging::msg::msg const msg &    m [inline]
 

copy c'tor.


Member Function Documentation

msg& utils::logging::msg::operator= const msg &    m [inline]
 

assignment.


Member Data Documentation

const char* utils::logging::msg::file
 

The source file name.

If the source file is NULL it should be ignored.

int utils::logging::msg::line
 

The line number.

If a line number is negative it should be ignored.


The documentation for this class was generated from the following file:
Generated on Mon Oct 22 17:03:48 2001 for rfc822 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001