Error reporting mechanism.
More...
#include <ErrorLog.hh>
Error reporting mechanism.
◆ state
Enumerator |
---|
ASSERT_FAILURE | |
FATAL | Message represents a fatal condition.
|
DEBUG | Message is for debbugging purposes.
|
WARNING | Message represents a non-fatal condition.
|
INFO | Message supplies additional information.
|
◆ ErrorLog()
LDASTools::AL::ErrorLog::ErrorLog |
( |
std::ostream & |
Stream, |
|
|
bool |
OpenState |
|
) |
| |
◆ ~ErrorLog()
LDASTools::AL::ErrorLog::~ErrorLog |
( |
| ) |
|
◆ AbortOnAssertFailure() [1/2]
bool LDASTools::AL::ErrorLog::AbortOnAssertFailure |
( |
| ) |
|
|
inlinestatic |
◆ AbortOnAssertFailure() [2/2]
void LDASTools::AL::ErrorLog::AbortOnAssertFailure |
( |
bool |
Value | ) |
|
|
inlinestatic |
◆ IsOpen() [1/2]
bool LDASTools::AL::ErrorLog::IsOpen |
( |
| ) |
const |
|
inline |
◆ IsOpen() [2/2]
bool LDASTools::AL::ErrorLog::IsOpen |
( |
bool |
State | ) |
|
|
inline |
◆ MaskBitClear()
void LDASTools::AL::ErrorLog::MaskBitClear |
( |
state |
State | ) |
|
|
inline |
◆ MaskBitSet()
void LDASTools::AL::ErrorLog::MaskBitSet |
( |
state |
State | ) |
|
|
inline |
◆ operator()() [1/2]
void LDASTools::AL::ErrorLog::operator() |
( |
state |
State, |
|
|
const char * |
Filename, |
|
|
const int |
Line, |
|
|
const std::string & |
Message, |
|
|
bool |
EOL = true |
|
) |
| |
◆ operator()() [2/2]
void LDASTools::AL::ErrorLog::operator() |
( |
std::ostream & |
Stream | ) |
|
|
inline |
Resetting of the output stream to use.
◆ m_abort_on_assert_failure
bool LDASTools::AL::ErrorLog::m_abort_on_assert_failure = false |
|
staticprivate |
◆ m_is_open
bool LDASTools::AL::ErrorLog::m_is_open |
|
private |
◆ m_lock
Lock to ensure syncronous output.
◆ m_mask
INT_4U LDASTools::AL::ErrorLog::m_mask |
|
private |
◆ m_stream
std::ostream* LDASTools::AL::ErrorLog::m_stream |
|
private |
Stream associated with the log.
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.4/src/ErrorLog.hh
- /home/abuild/rpmbuild/BUILD/ldas-tools-al-2.6.4/src/ErrorLog.cc