#include <kaldi-error.h>
Classes | |
struct | Log |
struct | LogAndThrow |
Public Member Functions | |
MessageLogger (LogMessageEnvelope::Severity severity, const char *func, const char *file, int32 line) | |
The constructor stores the message's "envelope", a set of data which. More... | |
template<typename T > | |
MessageLogger & | operator<< (const T &val) |
Private Member Functions | |
std::string | GetMessage () const |
void | LogMessage () const |
Private Attributes | |
LogMessageEnvelope | envelope_ |
std::ostringstream | ss_ |
Definition at line 109 of file kaldi-error.h.
MessageLogger | ( | LogMessageEnvelope::Severity | severity, |
const char * | func, | ||
const char * | file, | ||
int32 | line | ||
) |
The constructor stores the message's "envelope", a set of data which.
Definition at line 174 of file kaldi-error.cc.
References kaldi::GetShortFileName().
|
inlineprivate |
Definition at line 139 of file kaldi-error.h.
Referenced by MessageLogger::LogAndThrow::operator=().
|
private |
Definition at line 183 of file kaldi-error.cc.
References KALDI_VERSION, kaldi::KaldiGetStackTrace(), LogMessageEnvelope::kAssertFailed, LogMessageEnvelope::kError, LogMessageEnvelope::kInfo, LogMessageEnvelope::kWarning, and kaldi::log_handler.
Referenced by MessageLogger::Log::operator=(), and MessageLogger::LogAndThrow::operator=().
|
inline |
Definition at line 119 of file kaldi-error.h.
|
private |
Definition at line 142 of file kaldi-error.h.
|
private |
Definition at line 143 of file kaldi-error.h.