Feat C++ API
A feature engineering automation tool
logger.h
Go to the documentation of this file.
1
/* FEAT
2
copyright 2017 William La Cava
3
license: GNU/GPL v3
4
*/
5
6
#ifndef LOGGER_H
7
#define LOGGER_H
8
9
#include<iostream>
10
using namespace
std;
11
12
namespace
FT
{
13
14
namespace
Util{
15
17
23
class
Logger
24
{
25
public
:
26
27
static
Logger
* initLogger();
28
29
static
void
destroy();
30
31
void
set_log_level(
int
& verbosity);
32
33
int
get_log_level();
34
36
string
log(
string
m,
int
v,
string
sep=
"\n"
)
const
;
37
38
private
:
39
40
int
verbosity
;
41
42
static
Logger
*
instance
;
43
44
};
45
46
static
Logger
&
logger
= *Logger::initLogger();
47
}
48
}
49
#endif
FT::Util::Logger
Defines a multi level static logger for feat.
Definition:
logger.h:24
FT::Util::Logger::verbosity
int verbosity
Definition:
logger.h:40
FT::Util::Logger::instance
static Logger * instance
Definition:
logger.h:42
FT::Util::logger
static Logger & logger
Definition:
logger.h:46
FT
main Feat namespace
Definition:
data.cc:13
src
util
logger.h
Generated by
1.9.1