libpsynth 0.2.1
Classes | Namespaces | Defines | Functions
/home/raskolnikov/dev/psynth/trunk/src/psynth/base/logger.hpp File Reference

Time-stamp: <2011-06-13 15:46:53 raskolnikov> More...

#include <map>
#include <list>
#include <iostream>
#include <fstream>
#include <sstream>
#include <psynth/base/singleton.hpp>
#include <psynth/base/tree.hpp>
#include <psynth/base/compat.hpp>
#include <psynth/base/logger_fwd.hpp>
Include dependency graph for logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  psynth::base::log_stream_adapter
 A iostreams alike adapter for a log. More...
class  psynth::base::log_stream_adapter_wrapper
 This allow to wrap the log_stream_adapter into a wrapper that flushes the log_stream when the last copy is destroyed. More...
class  psynth::base::log_sink
 Interface of a log sink. More...
class  psynth::base::log
 A logger node. More...
struct  psynth::base::logger
 Root singleton Log to log global messages. More...
class  psynth::base::log_std_sink
 Simple log sink that logs messages to cout and cerr. More...
class  psynth::base::log_stream_sink
 Logs messages to a standard stream. More...
class  psynth::base::log_file_sink
 Outputs to stream file. More...

Namespaces

namespace  psynth
namespace  psynth::base

Defines

#define PSYNTH_LOG   ::psynth::base::logger::self ().path (PSYNTH_MODULE_NAME).stream ()
#define PSYNTH_LOG_DEBUG   ::psynth::base::nop_ostream ()

Functions

log_stream_adapter & psynth::base::flush (log_stream_adapter &s)
 Manipulator for flushing the stream.
template<typename T >
log_stream_adapter_wrapper psynth::base::operator<< (log_stream_adapter_wrapper s, T p)
log_stream_adapter & psynth::base::operator<< (log_stream_adapter &s, log::level x)
template<class T >
log_stream_adapter & psynth::base::operator<< (log_stream_adapter &s, const T &x)
log_stream_adapter & psynth::base::operator<< (log_stream_adapter &stm, log_stream_adapter &(*func)(log_stream_adapter &))

Detailed Description

Time-stamp: <2011-06-13 15:46:53 raskolnikov>

Time-stamp: <2011-06-13 11:09:57 raskolnikov>

Author:
Juan Pedro Bolívar Puente <raskolnikov@es.gnu.org>
Date:
2007

A hierarchical, multi-backend and thread-safe logging facility. Implementation file.

Author:
Juan Pedro Bolívar Puente <raskolnikov@es.gnu.org>
Date:
2007

A hierarchical, multi-backend and thread-safe logging facility. Interface file.


Define Documentation

#define PSYNTH_LOG   ::psynth::base::logger::self ().path (PSYNTH_MODULE_NAME).stream ()
#define PSYNTH_LOG_DEBUG   ::psynth::base::nop_ostream ()