Nymph  v1.5.2
Flow-Based Data Processing Framework
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
KTLogger::Private Struct Reference

Public Member Functions

void logCout (ELevel level, const string &message, const Location &loc)
 
void logCerr (ELevel level, const string &message, const Location &loc)
 

Static Public Member Functions

static size_t getTimeAbsoluteStr ()
 
static const char * level2Str (ELevel level)
 
static string level2Color (ELevel level)
 

Public Attributes

const char * fLogger
 
bool fColored
 
ELevel fThreshold
 

Static Public Attributes

static char sDateTimeFormat [16]
 
static time_t sRawTime
 
static tm * sProcessedTime
 
static char sTimeBuff [512]
 

Detailed Description

Definition at line 40 of file KTLogger.cc.

Member Function Documentation

◆ getTimeAbsoluteStr()

static size_t getTimeAbsoluteStr ( )
inlinestatic

Definition at line 46 of file KTLogger.cc.

◆ level2Color()

static string level2Color ( ELevel  level)
inlinestatic

Definition at line 74 of file KTLogger.cc.

◆ level2Str()

static const char* level2Str ( ELevel  level)
inlinestatic

Definition at line 59 of file KTLogger.cc.

◆ logCerr()

void logCerr ( ELevel  level,
const string &  message,
const Location loc 
)
inline

Definition at line 111 of file KTLogger.cc.

◆ logCout()

void logCout ( ELevel  level,
const string &  message,
const Location loc 
)
inline

Definition at line 90 of file KTLogger.cc.

Member Data Documentation

◆ fColored

bool fColored

Definition at line 56 of file KTLogger.cc.

◆ fLogger

const char* fLogger

Definition at line 55 of file KTLogger.cc.

◆ fThreshold

ELevel fThreshold

Definition at line 57 of file KTLogger.cc.

◆ sDateTimeFormat

char sDateTimeFormat
static

Definition at line 42 of file KTLogger.cc.

◆ sProcessedTime

tm * sProcessedTime
static

Definition at line 44 of file KTLogger.cc.

◆ sRawTime

time_t sRawTime
static

Definition at line 43 of file KTLogger.cc.

◆ sTimeBuff

char sTimeBuff
static

Definition at line 45 of file KTLogger.cc.


The documentation for this struct was generated from the following file: