Error reporting mechanism.
More...
#include <ErrorLog.hh>
|
enum | state {
ASSERT_FAILURE
, FATAL
, DEBUG
, WARNING
,
INFO
, ASSERT_FAILURE
, FATAL
, DEBUG
,
WARNING
, INFO
, ASSERT_FAILURE
, FATAL
,
DEBUG
, WARNING
, INFO
} |
|
enum | state {
ASSERT_FAILURE
, FATAL
, DEBUG
, WARNING
,
INFO
, ASSERT_FAILURE
, FATAL
, DEBUG
,
WARNING
, INFO
, ASSERT_FAILURE
, FATAL
,
DEBUG
, WARNING
, INFO
} |
|
enum | state {
ASSERT_FAILURE
, FATAL
, DEBUG
, WARNING
,
INFO
, ASSERT_FAILURE
, FATAL
, DEBUG
,
WARNING
, INFO
, ASSERT_FAILURE
, FATAL
,
DEBUG
, WARNING
, INFO
} |
|
|
| ErrorLog (std::ostream &Stream, bool OpenState) |
| Constructor. More...
|
|
| ~ErrorLog () |
| Destructor. More...
|
|
bool | IsOpen () const |
| Check log's open state. More...
|
|
bool | IsOpen (bool State) |
| Set log's open state. More...
|
|
void | MaskBitClear (state State) |
|
void | MaskBitSet (state State) |
|
void | operator() (state State, const char *Filename, const int Line, const std::string &Message, bool EOL=true) |
| Write message to log. More...
|
|
void | operator() (std::ostream &Stream) |
| Resetting of the output stream to use. More...
|
|
| ErrorLog (std::ostream &Stream, bool OpenState) |
| Constructor. More...
|
|
| ~ErrorLog () |
| Destructor. More...
|
|
bool | IsOpen () const |
| Check log's open state. More...
|
|
bool | IsOpen (bool State) |
| Set log's open state. More...
|
|
void | MaskBitClear (state State) |
|
void | MaskBitSet (state State) |
|
void | operator() (state State, const char *Filename, const int Line, const std::string &Message, bool EOL=true) |
| Write message to log. More...
|
|
void | operator() (std::ostream &Stream) |
| Resetting of the output stream to use. More...
|
|
| ErrorLog (std::ostream &Stream, bool OpenState) |
| Constructor. More...
|
|
| ~ErrorLog () |
| Destructor. More...
|
|
bool | IsOpen () const |
| Check log's open state. More...
|
|
bool | IsOpen (bool State) |
| Set log's open state. More...
|
|
void | MaskBitClear (state State) |
|
void | MaskBitSet (state State) |
|
void | operator() (state State, const char *Filename, const int Line, const std::string &Message, bool EOL=true) |
| Write message to log. More...
|
|
void | operator() (std::ostream &Stream) |
| Resetting of the output stream to use. More...
|
|
Error reporting mechanism.
◆ state [1/3]
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.
|
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.
|
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.
|
◆ state [2/3]
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.
|
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.
|
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.
|
◆ state [3/3]
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.
|
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.
|
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() [1/3]
LDASTools::AL::ErrorLog::ErrorLog |
( |
std::ostream & |
Stream, |
|
|
bool |
OpenState |
|
) |
| |
◆ ~ErrorLog() [1/3]
LDASTools::AL::ErrorLog::~ErrorLog |
( |
| ) |
|
◆ ErrorLog() [2/3]
LDASTools::AL::ErrorLog::ErrorLog |
( |
std::ostream & |
Stream, |
|
|
bool |
OpenState |
|
) |
| |
◆ ~ErrorLog() [2/3]
LDASTools::AL::ErrorLog::~ErrorLog |
( |
| ) |
|
◆ ErrorLog() [3/3]
LDASTools::AL::ErrorLog::ErrorLog |
( |
std::ostream & |
Stream, |
|
|
bool |
OpenState |
|
) |
| |
◆ ~ErrorLog() [3/3]
LDASTools::AL::ErrorLog::~ErrorLog |
( |
| ) |
|
◆ AbortOnAssertFailure() [1/6]
bool LDASTools::AL::ErrorLog::AbortOnAssertFailure |
( |
| ) |
|
|
inlinestatic |
◆ AbortOnAssertFailure() [2/6]
static bool LDASTools::AL::ErrorLog::AbortOnAssertFailure |
( |
| ) |
|
|
static |
◆ AbortOnAssertFailure() [3/6]
static bool LDASTools::AL::ErrorLog::AbortOnAssertFailure |
( |
| ) |
|
|
static |
◆ AbortOnAssertFailure() [4/6]
void LDASTools::AL::ErrorLog::AbortOnAssertFailure |
( |
bool |
Value | ) |
|
|
inlinestatic |
◆ AbortOnAssertFailure() [5/6]
static void LDASTools::AL::ErrorLog::AbortOnAssertFailure |
( |
bool |
Value | ) |
|
|
static |
◆ AbortOnAssertFailure() [6/6]
static void LDASTools::AL::ErrorLog::AbortOnAssertFailure |
( |
bool |
Value | ) |
|
|
static |
◆ IsOpen() [1/6]
bool LDASTools::AL::ErrorLog::IsOpen |
( |
| ) |
const |
|
inline |
◆ IsOpen() [2/6]
bool LDASTools::AL::ErrorLog::IsOpen |
( |
| ) |
const |
◆ IsOpen() [3/6]
bool LDASTools::AL::ErrorLog::IsOpen |
( |
| ) |
const |
◆ IsOpen() [4/6]
bool LDASTools::AL::ErrorLog::IsOpen |
( |
bool |
State | ) |
|
|
inline |
◆ IsOpen() [5/6]
bool LDASTools::AL::ErrorLog::IsOpen |
( |
bool |
State | ) |
|
◆ IsOpen() [6/6]
bool LDASTools::AL::ErrorLog::IsOpen |
( |
bool |
State | ) |
|
◆ MaskBitClear() [1/3]
void LDASTools::AL::ErrorLog::MaskBitClear |
( |
state |
State | ) |
|
|
inline |
◆ MaskBitClear() [2/3]
void LDASTools::AL::ErrorLog::MaskBitClear |
( |
state |
State | ) |
|
◆ MaskBitClear() [3/3]
void LDASTools::AL::ErrorLog::MaskBitClear |
( |
state |
State | ) |
|
◆ MaskBitSet() [1/3]
void LDASTools::AL::ErrorLog::MaskBitSet |
( |
state |
State | ) |
|
|
inline |
◆ MaskBitSet() [2/3]
void LDASTools::AL::ErrorLog::MaskBitSet |
( |
state |
State | ) |
|
◆ MaskBitSet() [3/3]
void LDASTools::AL::ErrorLog::MaskBitSet |
( |
state |
State | ) |
|
◆ operator()() [1/6]
void LDASTools::AL::ErrorLog::operator() |
( |
state |
State, |
|
|
const char * |
Filename, |
|
|
const int |
Line, |
|
|
const std::string & |
Message, |
|
|
bool |
EOL = true |
|
) |
| |
◆ operator()() [2/6]
void LDASTools::AL::ErrorLog::operator() |
( |
state |
State, |
|
|
const char * |
Filename, |
|
|
const int |
Line, |
|
|
const std::string & |
Message, |
|
|
bool |
EOL = true |
|
) |
| |
◆ operator()() [3/6]
void LDASTools::AL::ErrorLog::operator() |
( |
state |
State, |
|
|
const char * |
Filename, |
|
|
const int |
Line, |
|
|
const std::string & |
Message, |
|
|
bool |
EOL = true |
|
) |
| |
◆ operator()() [4/6]
void LDASTools::AL::ErrorLog::operator() |
( |
std::ostream & |
Stream | ) |
|
|
inline |
Resetting of the output stream to use.
◆ operator()() [5/6]
void LDASTools::AL::ErrorLog::operator() |
( |
std::ostream & |
Stream | ) |
|
Resetting of the output stream to use.
◆ operator()() [6/6]
void LDASTools::AL::ErrorLog::operator() |
( |
std::ostream & |
Stream | ) |
|
Resetting of the output stream to use.
◆ m_abort_on_assert_failure
static 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:
- /build/ldas-tools-al-2.6.7/debian/tmp/usr/include/ldastoolsal/ErrorLog.hh
- /build/ldas-tools-al-2.6.7/obj-x86_64-linux-gnu/include/ldastoolsal/ErrorLog.hh
- /build/ldas-tools-al-2.6.7/src/ErrorLog.hh
- /build/ldas-tools-al-2.6.7/src/ErrorLog.cc