Pluie.Dbg – pluie-echo-0.1 Reference Manual
Packages
pluie-echo-0.1
Pluie
Dbg
DBG_ERROR
DBG_WARN
@in
@out
error
init
msg
DBG_ENABLED
Pluie.Dbg
Description:
Content:
Constants:
public
const
int8
DBG_ERROR
type log error
public
const
int8
DBG_WARN
type log warn
Functions:
public
void
init
(
OutputFormatter
of,
bool
debug =
false
)
initialize logging
public
void
@in
(
string
method,
string
? @params =
null
,
int
line =
0
,
string
? file =
null
)
log method entering
public
void
@out
(
string
method,
string
? @params =
null
,
int
line =
0
,
string
? file =
null
)
log method leaving
public
void
msg
(
string
msg,
int
line =
0
,
string
? file =
null
)
log a message
public
void
error
(
string
msg,
string
method,
int
line =
0
,
string
? file =
null
,
int8
mode =
DBG_ERROR
)
log error
Fields:
public
bool
DBG_ENABLED
enable/disable log messages