CPN
Computational Process Networks
Classes | Macros
Logger.h File Reference

A very simple logging interface. More...

#include <cpn/common.h>
#include <cpn/threading/ReentrantLock.h>
#include <string>
#include <cstdarg>
+ Include dependency graph for Logger.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LoggerOutput
 Abstract base class for logger outputers. Any object who wishes to be a place for logging messages to go inherits from this class. More...
 
class  Logger
 Logger object that is used for forwarding log messages. More...
 
class  LoggerStdOutput
 A LoggerOutput implementation that prints to stdout. More...
 
struct  ScopeTrace
 

Macros

#define SCOPE_TRACE(logger)   ScopeTrace scopetracer__LINE__ (logger, __PRETTY_FUNCTION__, __LINE__)
 

Detailed Description

A very simple logging interface.

Author
John Bridgman

Definition in file Logger.h.

Macro Definition Documentation

#define SCOPE_TRACE (   logger)    ScopeTrace scopetracer__LINE__ (logger, __PRETTY_FUNCTION__, __LINE__)

Definition at line 145 of file Logger.h.