SparseBase
Getting Started
Tutorials
Explanations
How To Guides
Library API
Contributing
License (MIT)
SparseBase
»
Library API
»
Class Logger
View page source
Class Logger
Defined in
File logger.h
Class Documentation
class
sparsebase
::
utils
::
Logger
Public Functions
Logger
(
)
Logger
(
std
::
type_index
root_type
)
~Logger
(
)
void
Log
(
const
std
::
string
&
message
,
LogLevel
msg_level
=
LOG_LVL_INFO
)
Public Static Functions
static
inline
void
set_level
(
LogLevel
level
)
static
inline
void
set_stdout
(
bool
use
)
static
inline
void
set_stderr
(
bool
use
)
static
inline
void
set_file
(
const
std
::
string
&
filename
)