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=nil → use default-format) |
[in] | callfunc | a user-defined postfix to identify the calling-function or the environment (default = name-of-function, nil = resolve-own-name) |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
|
static |
Definition at line 1330 of file MqContextC_rb.c.
|
static |
Ruby:
→ C-API ctx.LogConfig(?fmtobj:MkObjectC=nil?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?)
log the MqContextC part MqConfigS …
Definition at line 1333 of file MqContextC_rb.c.
|
static |
Ruby:
→ C-API ctx.LogEnv(?fmtobj:MkObjectC=nil?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?)
log the MqContextC part MqEnvS …
Definition at line 1358 of file MqContextC_rb.c.
|
static |
Ruby:
→ C-API ctx.LogLink(?fmtobj:MkObjectC=nil?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?)
log the MqContextC part MqLinkS …
Definition at line 1383 of file MqContextC_rb.c.
|
static |
Ruby:
→ C-API string ctx.LogParentOrChild()
is ctx a PARENT or a CHILD ? …
Definition at line 1485 of file MqContextC_rb.c.
|
static |
Ruby:
→ C-API string ctx.LogServerOrClient()
is ctx a SERVER or a CLIENT ? …
Definition at line 1495 of file MqContextC_rb.c.
|
static |
Ruby:
→ C-API ctx.LogSetup(?fmtobj:MkObjectC=nil?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?)
log the MqContextC part MqSetupS …
Definition at line 1408 of file MqContextC_rb.c.
|
static |
Ruby:
→ C-API ctx.LogShort(?fmtobj:MkObjectC=nil?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?, ?label:string="nil"?)
log the MqContextC with less info then MqContextLog …
Definition at line 1433 of file MqContextC_rb.c.
|
static |
Ruby:
→ C-API ctx.LogType(?fmtobj:MkObjectC=nil?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?)
log the MqContextC part MkTypeS …
Definition at line 1460 of file MqContextC_rb.c.