yasimavr
Contents:
Command Line Usage
Key Concepts
Developer Reference
C++ API reference
Full API
Namespaces
Classes and Structs
Enums
Functions
Variables
Defines
Typedefs
Frameworks
Device Library Management
Python Utilities
Examples
IDE Integration
yasimavr
Developer Reference
C++ API reference
Class Logger
View page source
Class Logger
Defined in
File sim_logger.h
Class Documentation
class
Logger
Public Types
enum
Level
Values:
enumerator
Level_Silent
enumerator
Level_Output
enumerator
Level_Error
enumerator
Level_Warning
enumerator
Level_Debug
enumerator
Level_Trace
Public Functions
Logger
(
ctl_id_t
id
,
LogHandler
&
hdl
)
explicit
Logger
(
ctl_id_t
id
,
Logger
*
prt
=
nullptr
)
inline
void
set_level
(
int
lvl
)
inline
int
level
(
)
const
inline
void
set_parent
(
Logger
*
p
)
inline
Logger
*
parent
(
)
const
void
log
(
int
level
,
const
char
*
format
,
...
)
void
err
(
const
char
*
format
,
...
)
void
wng
(
const
char
*
format
,
...
)
void
dbg
(
const
char
*
format
,
...
)
Protected Functions
inline
ctl_id_t
id
(
)
const
void
filtered_write
(
int
lvl
,
const
char
*
fmt
,
std
::
va_list
args
)
void
write
(
int
lvl
,
ctl_id_t
id
,
const
char
*
fmt
,
std
::
va_list
args
)