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

utils::logging::logger Class Reference

the logging object. More...

#include <log.h>

Inheritance diagram for utils::logging::logger::

utils::receiver< msg, logfunc > boost::noncopyable List of all members.

Public Methods

 logger ()
 ~logger ()
void attach (listener *p)
bool detach (listener *p)
void handle (const msg &m)

Static Public Attributes

logger the_logger

Detailed Description

the logging object.

There is exactly one logging object. By deriving from utils::receiver it works in a separate thread.

One may attach and detach listener objects. Usually this is done automatically in the listener constructor.

Constructor & Destructor Documentation



Member Function Documentation

void utils::logging::logger::attach listener   p

bool utils::logging::logger::detach listener   p

void utils::logging::logger::handle const msg   m

Member Data Documentation

logger utils::logging::logger::the_logger [static]

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