MkObjectC - log information to MkLogFileC (default: stderr) … More...
MkObjectC - log information to MkLogFileC (default: stderr) …
The logging-target is set direct by RuntimeLogTargetSet or using the class MkLogFileC.
The target is stored at the MkRuntimeC using a FILE-stream and can be set individually for each thread. The default is stderr.
possible values are:
value | decription | OS man-page |
---|---|---|
stdout | the standart output | stdio(3) |
stderr | the standart error output | stdio(3) |
fileName | an arbitary fileName | fopen(3) |
Many logging functions have common parameters:
[in] | fmtobj | managed object used to format the log-message (default=None → use default-format) |
[in] | callfunc | a user-defined postfix to identify the calling-function or the environment (default = name-of-function, None = resolve-own-name) |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
|
static |
Python:
→ C-API obj.Log(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?)
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
Definition at line 577 of file MkObjectC_py.c.
|
static |
Python:
→ C-API fmtobj.LogC(message:string, ?debug:int32=0?, ?callfunc:string="MK_NULL"?)
write a logging-message to MkLogFileC (default: stderr) using the internal format …
Definition at line 531 of file MkObjectC_py.c.
|
static |
Python:
→ C-API fmtobj.LogHEX(callfunc:string, data:binary)
log binaray data as HEX into the MkLogFileC (default: stderr) …
Definition at line 557 of file MkObjectC_py.c.
|
static |
Python:
→ C-API obj.LogLong(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?)
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
Definition at line 605 of file MkObjectC_py.c.
|
static |
Python:
→ C-API obj.LogShort(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?)
log the MkObjectS into the MkLogFileC (default: stderr) …
Definition at line 633 of file MkObjectC_py.c.
|
static |
Python:
→ C-API obj.LogType(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?)
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
Definition at line 661 of file MkObjectC_py.c.