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="MK_NULL" → use default-format) |
[in] | callfunc | a user-defined postfix to identify the calling-function or the environment (default = name-of-function, "MK_NULL" = resolve-own-name) |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
|
static |
Tcl:
→ C-API $obj Log ?fmtobj:MkObjectC="MK_NULL"? ?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 608 of file MkObjectC_tcl.c.
|
static |
Tcl:
→ 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 562 of file MkObjectC_tcl.c.
|
static |
Tcl:
→ C-API $fmtobj LogHEX callfunc:string data:binary
log binaray data as HEX into the MkLogFileC (default: stderr) …
Definition at line 588 of file MkObjectC_tcl.c.
|
static |
Tcl:
→ C-API $obj LogLong ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0?
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
Definition at line 636 of file MkObjectC_tcl.c.
|
static |
Tcl:
→ C-API $obj LogShort ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0?
log the MkObjectS into the MkLogFileC (default: stderr) …
Definition at line 664 of file MkObjectC_tcl.c.
|
static |
Tcl:
→ C-API $obj LogType ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0?
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
Definition at line 692 of file MkObjectC_tcl.c.