Feat C++ API
A feature engineering automation tool
FT::Util::Logger Class Reference

Defines a multi level static logger for feat. More...

#include <logger.h>

Collaboration diagram for FT::Util::Logger:

Public Member Functions

void set_log_level (int &verbosity)
 
int get_log_level ()
 
string log (string m, int v, string sep="\n") const
 print message with verbosity control. More...
 

Static Public Member Functions

static LoggerinitLogger ()
 
static void destroy ()
 

Private Attributes

int verbosity
 

Static Private Attributes

static Loggerinstance = NULL
 

Detailed Description

Defines a multi level static logger for feat.

Definition at line 23 of file logger.h.

Member Function Documentation

◆ destroy()

void FT::Util::Logger::destroy ( )
static

Definition at line 25 of file logger.cc.

◆ get_log_level()

int FT::Util::Logger::get_log_level ( )

Definition at line 48 of file logger.cc.

◆ initLogger()

Logger * FT::Util::Logger::initLogger ( )
static

Definition at line 15 of file logger.cc.

◆ log()

string FT::Util::Logger::log ( string  m,
int  v,
string  sep = "\n" 
) const

print message with verbosity control.

Definition at line 54 of file logger.cc.

◆ set_log_level()

void FT::Util::Logger::set_log_level ( int &  verbosity)

Definition at line 33 of file logger.cc.

Member Data Documentation

◆ instance

Logger * FT::Util::Logger::instance = NULL
staticprivate

Definition at line 42 of file logger.h.

◆ verbosity

int FT::Util::Logger::verbosity
private

Definition at line 40 of file logger.h.


The documentation for this class was generated from the following files: