Log message severity and source location info. More...
#include <kaldi-error.h>
Public Types | |
enum | Severity { kAssertFailed = -3, kError = -2, kWarning = -1, kInfo = 0 } |
Message severity. More... | |
Public Attributes | |
int | severity |
A Severity value, or positive verbosity level. More... | |
const char * | func |
Name of the function invoking the logging. More... | |
const char * | file |
Source file name with up to 1 leading directory. More... | |
int32 | line |
Log message severity and source location info.
Definition at line 69 of file kaldi-error.h.
enum Severity |
Message severity.
In addition to these levels, positive values (1 to 6) specify verbose logging level. Verbose messages are produced only when SetVerboseLevel() has been called to set logging level to at least the corresponding value.
Enumerator | |
---|---|
kAssertFailed | Assertion failure. abort() will be called. |
kError | Fatal error. KaldiFatalError will be thrown. |
kWarning | Indicates a recoverable but abnormal condition. |
kInfo | Informational message. |
Definition at line 74 of file kaldi-error.h.
const char* file |
Source file name with up to 1 leading directory.
Definition at line 82 of file kaldi-error.h.
const char* func |
Name of the function invoking the logging.
Definition at line 81 of file kaldi-error.h.
int32 line |
Definition at line 83 of file kaldi-error.h.
int severity |
A Severity value, or positive verbosity level.
Definition at line 80 of file kaldi-error.h.