ldas-tools-al 2.6.7
Loading...
Searching...
No Matches
LDASTools::AL::ErrorLog Class Reference

Error reporting mechanism. More...

#include <ErrorLog.hh>

Public Types

enum  state {
}
 
enum  state {
}
 

Public Member Functions

 ErrorLog (std::ostream &Stream, bool OpenState)
 Constructor.
 
 ~ErrorLog ()
 Destructor.
 
bool IsOpen () const
 Check log's open state.
 
bool IsOpen (bool State)
 Set log's open state.
 
void operator() (state State, const char *Filename, const int Line, const std::string &Message, bool EOL=true)
 Write message to log.
 
void operator() (std::ostream &Stream)
 Resetting of the output stream to use.
 
 ErrorLog (std::ostream &Stream, bool OpenState)
 Constructor.
 
 ~ErrorLog ()
 Destructor.
 
bool IsOpen () const
 Check log's open state.
 
bool IsOpen (bool State)
 Set log's open state.
 
void operator() (state State, const char *Filename, const int Line, const std::string &Message, bool EOL=true)
 Write message to log.
 
void operator() (std::ostream &Stream)
 Resetting of the output stream to use.
 

Detailed Description

Error reporting mechanism.

Member Enumeration Documentation

◆ state [1/2]

Enumerator
FATAL 

Message represents a fatal condition.

DEBUG 

Message is for debbugging purposes.

WARNING 

Message represents a non-fatal condition.

INFO 

Message supplies additional information.

FATAL 

Message represents a fatal condition.

DEBUG 

Message is for debbugging purposes.

WARNING 

Message represents a non-fatal condition.

INFO 

Message supplies additional information.

◆ state [2/2]

Enumerator
FATAL 

Message represents a fatal condition.

DEBUG 

Message is for debbugging purposes.

WARNING 

Message represents a non-fatal condition.

INFO 

Message supplies additional information.

FATAL 

Message represents a fatal condition.

DEBUG 

Message is for debbugging purposes.

WARNING 

Message represents a non-fatal condition.

INFO 

Message supplies additional information.


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