tesseract  5.0.0-alpha-619-ge9db
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 32 of file tlog.h.

◆ TLOG_IS_ON

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

Definition at line 38 of file tlog.h.

Function Documentation

◆ DECLARE_INT_PARAM_FLAG()

DECLARE_INT_PARAM_FLAG ( tlog_level  )