CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
zmex::ZMexLogBehavior Class Reference

#include <ZMexLogger.h>

+ Inheritance diagram for zmex::ZMexLogBehavior:

Public Member Functions

 ZMexLogBehavior ()
 
virtual ~ZMexLogBehavior ()
 
virtual ZMexLogBehaviorclone () const
 
virtual ZMexLogResult emit (const ZMexception &x)
 
virtual ZMexLogResult emit (const std::string &s)
 
virtual bool isTimeDesired () const
 
virtual bool isFilePathDesired () const
 

Detailed Description

Definition at line 67 of file ZMexLogger.h.

Constructor & Destructor Documentation

◆ ZMexLogBehavior()

zmex::ZMexLogBehavior::ZMexLogBehavior ( )

Definition at line 43 of file ZMexLogger.cc.

43{ ; }

Referenced by clone().

◆ ~ZMexLogBehavior()

zmex::ZMexLogBehavior::~ZMexLogBehavior ( )
virtual

Definition at line 45 of file ZMexLogger.cc.

45{ ; }

Member Function Documentation

◆ clone()

ZMexLogBehavior * zmex::ZMexLogBehavior::clone ( ) const
virtual

◆ emit() [1/2]

ZMexLogResult zmex::ZMexLogBehavior::emit ( const std::string &  s)
virtual

Reimplemented in zmex::ZMexLogNever, zmex::ZMexLogAlways, zmex::ZMexLogTwice, zmex::ZMexLogViaParent, and zmex::ZMexValidationStyle.

Definition at line 54 of file ZMexLogger.cc.

56 {
57 //DEBUG cerr << "ZMexLogBehavior::emit()" << endl;
58
59 // Do nothing with string& (but do it well!):
60 return ZMexNOTLOGGED;
61}
@ ZMexNOTLOGGED
Definition: ZMexLogResult.h:19

◆ emit() [2/2]

ZMexLogResult zmex::ZMexLogBehavior::emit ( const ZMexception x)
virtual

◆ isFilePathDesired()

bool zmex::ZMexLogBehavior::isFilePathDesired ( ) const
virtual

Reimplemented in zmex::ZMexValidationStyle.

Definition at line 64 of file ZMexLogger.cc.

64{ return true; }

Referenced by zmex::ZMexception::logMessage().

◆ isTimeDesired()

bool zmex::ZMexLogBehavior::isTimeDesired ( ) const
virtual

Reimplemented in zmex::ZMexValidationStyle.

Definition at line 63 of file ZMexLogger.cc.

63{ return true; }

Referenced by zmex::ZMexception::logMessage().


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