ldas-tools-al  2.6.7
Public Types | Public Member Functions | List of all members
LDASTools::AL::ErrorLog Class Reference

Error reporting mechanism. More...

#include <ErrorLog.hh>

Public Types

enum  state { ,
  FATAL, DEBUG, WARNING, INFO ,
  FATAL, DEBUG, WARNING, INFO ,
  FATAL, DEBUG, WARNING, INFO
}
 
enum  state { ,
  FATAL, DEBUG, WARNING, INFO ,
  FATAL, DEBUG, WARNING, INFO ,
  FATAL, DEBUG, WARNING, INFO
}
 
enum  state { ,
  FATAL, DEBUG, WARNING, INFO ,
  FATAL, DEBUG, WARNING, INFO ,
  FATAL, DEBUG, WARNING, INFO
}
 

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.
 
 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/3]

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.

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/3]

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.

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 [3/3]

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.

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: