MqContextC - log the output to a string or a MkLogFileC … More...
MqContextC - log the output to a string or a MkLogFileC …
Logging is an important part of the debugging and validation task.
The logging target is set with MkRuntimeLogTargetSet wich accepts a filename or the special token stdout or stderr.
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 |
Definition at line 1652 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API $ctx LogConfig ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0?
log the MqContextC part MqConfigS …
Definition at line 1655 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API $ctx LogEnv ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0?
log the MqContextC part MqEnvS …
Definition at line 1683 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API $ctx LogLink ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0?
log the MqContextC part MqLinkS …
Definition at line 1711 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API string [$ctx LogParentOrChild]
is ctx a PARENT or a CHILD ? …
Definition at line 1825 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API string [$ctx LogServerOrClient]
is ctx a SERVER or a CLIENT ? …
Definition at line 1838 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API $ctx LogSetup ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0?
log the MqContextC part MqSetupS …
Definition at line 1739 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API $ctx LogShort ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0? ?label:string="NULL"?
log the MqContextC with less info then MqContextLog …
Definition at line 1767 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API $ctx LogType ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0?
log the MqContextC part MkTypeS …
Definition at line 1797 of file MqContextC_tcl.c.