ldas-tools-al  2.6.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
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 }
 

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.
 

Detailed Description

Error reporting mechanism.

Member Enumeration Documentation

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.


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