All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
kaldi-error.h File Reference
#include <cstdio>
#include <cstring>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
#include "base/kaldi-types.h"
#include "base/kaldi-utils.h"
Include dependency graph for kaldi-error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LogMessageEnvelope
 Log message severity and source location info. More...
 
class  MessageLogger
 

Namespaces

 kaldi
 Relabels neural network egs with the read pdf-id alignments.
 

Macros

#define KALDI_NOEXCEPT(Predicate)
 
#define KALDI_ERR
 
#define KALDI_WARN
 
#define KALDI_LOG
 
#define KALDI_VLOG(v)
 
#define KALDI_ASSERT(cond)
 
#define KALDI_PARANOID_ASSERT(cond)   (void)0
 

Typedefs

typedef void(* LogHandler )(const LogMessageEnvelope &envelope, const char *message)
 Type of third-party logging function,. More...
 

Functions

int32 GetVerboseLevel ()
 
void SetVerboseLevel (int32 i)
 This should be rarely used; command-line programs set the verbose level automatically from ParseOptions. More...
 
void KaldiAssertFailure_ (const char *func, const char *file, int32 line, const char *cond_str)
 
LogHandler SetLogHandler (LogHandler)
 Set logging handler. More...
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const std::vector< T > &v)
 

Macro Definition Documentation

#define KALDI_NOEXCEPT (   Predicate)

Definition at line 45 of file kaldi-error.h.