tesseract  3.05.00
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tlog.h File Reference
#include "commandlineflags.h"
#include "errcode.h"
#include "tprintf.h"

Go to the source code of this file.

Macros

#define tlog(level,...)
 
#define TLOG_IS_ON(level)   (FLAGS_tlog_level >= level)
 

Functions

 DECLARE_INT_PARAM_FLAG (tlog_level)
 

Macro Definition Documentation

#define tlog (   level,
  ... 
)
Value:
{ \
if (FLAGS_tlog_level >= level) { \
tprintf_internal(__VA_ARGS__); \
} \
}
DLLSYM void tprintf_internal(const char *format,...)
Definition: tprintf.cpp:39

Definition at line 33 of file tlog.h.

#define TLOG_IS_ON (   level)    (FLAGS_tlog_level >= level)

Definition at line 39 of file tlog.h.

Function Documentation

DECLARE_INT_PARAM_FLAG ( tlog_level  )