tesseract  4.0.0-1-g2a2b
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

◆ tlog

#define tlog (   level,
  ... 
)
Value:
{ \
if (FLAGS_tlog_level >= level) { \
tprintf(__VA_ARGS__); \
} \
}

Definition at line 33 of file tlog.h.

◆ TLOG_IS_ON

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

Definition at line 39 of file tlog.h.

Function Documentation

◆ DECLARE_INT_PARAM_FLAG()

DECLARE_INT_PARAM_FLAG ( tlog_level  )