CPN
Computational Process Networks
Public Member Functions | List of all members
LoggerOutput Class Referenceabstract

Abstract base class for logger outputers. Any object who wishes to be a place for logging messages to go inherits from this class. More...

#include <Logger.h>

+ Inheritance diagram for LoggerOutput:

Public Member Functions

virtual ~LoggerOutput ()
 
virtual int LogLevel () const =0
 
virtual int LogLevel (int level)=0
 
virtual void Log (int level, const std::string &msg)=0
 Log a message to this outputer. More...
 

Detailed Description

Abstract base class for logger outputers. Any object who wishes to be a place for logging messages to go inherits from this class.

Definition at line 37 of file Logger.h.

Constructor & Destructor Documentation

LoggerOutput::~LoggerOutput ( )
virtual

Definition at line 31 of file Logger.cc.

31  {
32 }

Member Function Documentation

virtual void LoggerOutput::Log ( int  level,
const std::string &  msg 
)
pure virtual

Log a message to this outputer.

Parameters
levelthe level of this message
msgthe message

Implemented in LoggerStdOutput, Logger, CPN::LocalContext, and CPN::RemoteContextClient.

Referenced by Logger::Log().

+ Here is the caller graph for this function:

virtual int LoggerOutput::LogLevel ( ) const
pure virtual
Returns
the current log level

Implemented in LoggerStdOutput, CPN::LocalContext, Logger, and CPN::RemoteContextClient.

Referenced by Logger::Logger().

+ Here is the caller graph for this function:

virtual int LoggerOutput::LogLevel ( int  level)
pure virtual
Parameters
levelthe new log level
Returns
the new log level

Implemented in LoggerStdOutput, CPN::LocalContext, Logger, and CPN::RemoteContextClient.


The documentation for this class was generated from the following files: