MqContextC - log the output to a string or a MkLogFileC … More...
Functions | |
MQ_EXTERN void | MqContextLog_RT (MK_RT const mkrt, MQ_CTXN const ctx, MK_OBJN fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl) |
log the MqContextC … | |
MQ_EXTERN void | MqContextLogShort_RT (MK_RT const mkrt, MQ_CTXN const ctx, MK_OBJN fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl, MK_STRN const label) |
log the MqContextC with less info then MqContextLog … | |
MQ_EXTERN void | MqContextLogConfig_RT (MK_RT const mkrt, MQ_CTXN const ctx, MK_OBJN fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl) |
log the MqContextC part MqConfigS … | |
MQ_EXTERN void | MqContextLogSetup_RT (MK_RT const mkrt, MQ_CTXN const ctx, MK_OBJN fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl) |
log the MqContextC part MqSetupS … | |
MQ_EXTERN void | MqContextLogLink_RT (MK_RT const mkrt, MQ_CTXN ctx, MK_OBJN const fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl) |
log the MqContextC part MqLinkS … | |
MQ_EXTERN void | MqContextLogEnv_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_OBJ const fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl) |
log the MqContextC part MqEnvS … | |
MQ_EXTERN void | MqContextLogType_RT (MK_RT const mkrt, MQ_CTX const ctx, MK_OBJ fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl) |
log the MqContextC part MkTypeS … | |
MQ_EXTERN void | MqContextLogDebug (MQ_CTX const ctx) |
MK_ATTR_HDL MK_STRN | MqLogServerOrClient (MQ_CTXN const ctx) |
is ctx a SERVER or a CLIENT ? … | |
MK_ATTR_HDL MK_STRN | MqLogParentOrChild (MQ_CTXN ctx) |
is ctx a PARENT or a CHILD ? … | |
MqContextC - MqContextC_LogApi_Log_C_API - function | |
MQ_EXTERN MK_STRN | MqLogParentOrChildP (MQ_CTXN ctx) |
Non-inline replacement for MqLogParentOrChild … | |
MQ_EXTERN MK_STRN | MqLogServerOrClientP (MQ_CTXN const ctx) |
Non-inline replacement for MqLogServerOrClient … | |
MqContextC - MqContextC_LogApi_Log_C_API - overload | |
#define | MqContextLog_NULL(...) |
#define | MqContextLog(...) |
#define | MqContextLog_4(ctx, fmtobj, debug, callfunc) |
#define | MqContextLog_3(ctx, fmtobj, debug) |
#define | MqContextLog_2(ctx, fmtobj) |
#define | MqContextLog_1(ctx) |
#define | MqContextLogConfig_NULL(...) |
#define | MqContextLogConfig(...) |
#define | MqContextLogConfig_4(ctx, fmtobj, debug, callfunc) |
#define | MqContextLogConfig_3(ctx, fmtobj, debug) |
#define | MqContextLogConfig_2(ctx, fmtobj) |
#define | MqContextLogConfig_1(ctx) |
#define | MqContextLogEnv_NULL(...) |
#define | MqContextLogEnv(...) |
#define | MqContextLogEnv_4(ctx, fmtobj, debug, callfunc) |
#define | MqContextLogEnv_3(ctx, fmtobj, debug) |
#define | MqContextLogEnv_2(ctx, fmtobj) |
#define | MqContextLogEnv_1(ctx) |
#define | MqContextLogLink_NULL(...) |
#define | MqContextLogLink(...) |
#define | MqContextLogLink_4(ctx, fmtobj, debug, callfunc) |
#define | MqContextLogLink_3(ctx, fmtobj, debug) |
#define | MqContextLogLink_2(ctx, fmtobj) |
#define | MqContextLogLink_1(ctx) |
#define | MqContextLogSetup_NULL(...) |
#define | MqContextLogSetup(...) |
#define | MqContextLogSetup_4(ctx, fmtobj, debug, callfunc) |
#define | MqContextLogSetup_3(ctx, fmtobj, debug) |
#define | MqContextLogSetup_2(ctx, fmtobj) |
#define | MqContextLogSetup_1(ctx) |
#define | MqContextLogShort_NULL(...) |
#define | MqContextLogShort(...) |
#define | MqContextLogShort_5(ctx, fmtobj, debug, callfunc, lvl) |
#define | MqContextLogShort_4(ctx, fmtobj, debug, callfunc) |
#define | MqContextLogShort_3(ctx, fmtobj, debug) |
#define | MqContextLogShort_2(ctx, fmtobj) |
#define | MqContextLogShort_1(ctx) |
#define | MqContextLogType_NULL(...) |
#define | MqContextLogType(...) |
#define | MqContextLogType_4(ctx, fmtobj, debug, callfunc) |
#define | MqContextLogType_3(ctx, fmtobj, debug) |
#define | MqContextLogType_2(ctx, fmtobj) |
#define | MqContextLogType_1(ctx) |
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 MkRuntimeSetLogfile 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 ) |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
#define MqContextLog | ( | ... | ) |
Definition at line 250 of file msgque_overload_mq.h.
#define MqContextLog_1 | ( | ctx | ) |
Definition at line 254 of file msgque_overload_mq.h.
#define MqContextLog_2 | ( | ctx, | |
fmtobj ) |
Definition at line 253 of file msgque_overload_mq.h.
#define MqContextLog_3 | ( | ctx, | |
fmtobj, | |||
debug ) |
Definition at line 252 of file msgque_overload_mq.h.
#define MqContextLog_4 | ( | ctx, | |
fmtobj, | |||
debug, | |||
callfunc ) |
Definition at line 251 of file msgque_overload_mq.h.
#define MqContextLog_NULL | ( | ... | ) |
Definition at line 249 of file msgque_overload_mq.h.
#define MqContextLogConfig | ( | ... | ) |
Definition at line 256 of file msgque_overload_mq.h.
#define MqContextLogConfig_1 | ( | ctx | ) |
Definition at line 260 of file msgque_overload_mq.h.
#define MqContextLogConfig_2 | ( | ctx, | |
fmtobj ) |
Definition at line 259 of file msgque_overload_mq.h.
#define MqContextLogConfig_3 | ( | ctx, | |
fmtobj, | |||
debug ) |
Definition at line 258 of file msgque_overload_mq.h.
#define MqContextLogConfig_4 | ( | ctx, | |
fmtobj, | |||
debug, | |||
callfunc ) |
Definition at line 257 of file msgque_overload_mq.h.
#define MqContextLogConfig_NULL | ( | ... | ) |
Definition at line 255 of file msgque_overload_mq.h.
#define MqContextLogEnv | ( | ... | ) |
Definition at line 262 of file msgque_overload_mq.h.
#define MqContextLogEnv_1 | ( | ctx | ) |
Definition at line 266 of file msgque_overload_mq.h.
#define MqContextLogEnv_2 | ( | ctx, | |
fmtobj ) |
Definition at line 265 of file msgque_overload_mq.h.
#define MqContextLogEnv_3 | ( | ctx, | |
fmtobj, | |||
debug ) |
Definition at line 264 of file msgque_overload_mq.h.
#define MqContextLogEnv_4 | ( | ctx, | |
fmtobj, | |||
debug, | |||
callfunc ) |
Definition at line 263 of file msgque_overload_mq.h.
#define MqContextLogEnv_NULL | ( | ... | ) |
Definition at line 261 of file msgque_overload_mq.h.
#define MqContextLogLink | ( | ... | ) |
Definition at line 268 of file msgque_overload_mq.h.
#define MqContextLogLink_1 | ( | ctx | ) |
Definition at line 272 of file msgque_overload_mq.h.
#define MqContextLogLink_2 | ( | ctx, | |
fmtobj ) |
Definition at line 271 of file msgque_overload_mq.h.
#define MqContextLogLink_3 | ( | ctx, | |
fmtobj, | |||
debug ) |
Definition at line 270 of file msgque_overload_mq.h.
#define MqContextLogLink_4 | ( | ctx, | |
fmtobj, | |||
debug, | |||
callfunc ) |
Definition at line 269 of file msgque_overload_mq.h.
#define MqContextLogLink_NULL | ( | ... | ) |
Definition at line 267 of file msgque_overload_mq.h.
#define MqContextLogSetup | ( | ... | ) |
Definition at line 274 of file msgque_overload_mq.h.
#define MqContextLogSetup_1 | ( | ctx | ) |
Definition at line 278 of file msgque_overload_mq.h.
#define MqContextLogSetup_2 | ( | ctx, | |
fmtobj ) |
Definition at line 277 of file msgque_overload_mq.h.
#define MqContextLogSetup_3 | ( | ctx, | |
fmtobj, | |||
debug ) |
Definition at line 276 of file msgque_overload_mq.h.
#define MqContextLogSetup_4 | ( | ctx, | |
fmtobj, | |||
debug, | |||
callfunc ) |
Definition at line 275 of file msgque_overload_mq.h.
#define MqContextLogSetup_NULL | ( | ... | ) |
Definition at line 273 of file msgque_overload_mq.h.
#define MqContextLogShort | ( | ... | ) |
Definition at line 280 of file msgque_overload_mq.h.
#define MqContextLogShort_1 | ( | ctx | ) |
Definition at line 285 of file msgque_overload_mq.h.
#define MqContextLogShort_2 | ( | ctx, | |
fmtobj ) |
Definition at line 284 of file msgque_overload_mq.h.
#define MqContextLogShort_3 | ( | ctx, | |
fmtobj, | |||
debug ) |
Definition at line 283 of file msgque_overload_mq.h.
#define MqContextLogShort_4 | ( | ctx, | |
fmtobj, | |||
debug, | |||
callfunc ) |
Definition at line 282 of file msgque_overload_mq.h.
#define MqContextLogShort_5 | ( | ctx, | |
fmtobj, | |||
debug, | |||
callfunc, | |||
lvl ) |
Definition at line 281 of file msgque_overload_mq.h.
#define MqContextLogShort_NULL | ( | ... | ) |
Definition at line 279 of file msgque_overload_mq.h.
#define MqContextLogType | ( | ... | ) |
Definition at line 287 of file msgque_overload_mq.h.
#define MqContextLogType_1 | ( | ctx | ) |
Definition at line 291 of file msgque_overload_mq.h.
#define MqContextLogType_2 | ( | ctx, | |
fmtobj ) |
Definition at line 290 of file msgque_overload_mq.h.
#define MqContextLogType_3 | ( | ctx, | |
fmtobj, | |||
debug ) |
Definition at line 289 of file msgque_overload_mq.h.
#define MqContextLogType_4 | ( | ctx, | |
fmtobj, | |||
debug, | |||
callfunc ) |
Definition at line 288 of file msgque_overload_mq.h.
#define MqContextLogType_NULL | ( | ... | ) |
Definition at line 286 of file msgque_overload_mq.h.
MQ_EXTERN void MqContextLog_RT | ( | MK_RT const | mkrt, |
MQ_CTXN const | ctx, | ||
MK_OBJN | fmtobj, | ||
MK_DBG const | debug, | ||
MK_STRN const | callfunc, | ||
MK_I32 const | lvl ) |
log the MqContextC …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
[in] | callfunc | a user-defined postfix to identify the calling function or the environment (default=name-of-function ) |
[in] | lvl | a user-defined prefix starting with "" for lvl=0 and increase with " " for lvl+1 (default=0 ) |
MQ_EXTERN void MqContextLogConfig_RT | ( | MK_RT const | mkrt, |
MQ_CTXN const | ctx, | ||
MK_OBJN | fmtobj, | ||
MK_DBG const | debug, | ||
MK_STRN const | callfunc, | ||
MK_I32 const | lvl ) |
log the MqContextC part MqConfigS …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
[in] | callfunc | a user-defined postfix to identify the calling function or the environment (default=name-of-function ) |
[in] | lvl | a user-defined prefix starting with "" for lvl=0 and increase with " " for lvl+1 (default=0 ) |
MQ_EXTERN void MqContextLogEnv_RT | ( | MK_RT const | mkrt, |
MQ_CTX const | ctx, | ||
MK_OBJ const | fmtobj, | ||
MK_DBG const | debug, | ||
MK_STRN const | callfunc, | ||
MK_I32 const | lvl ) |
log the MqContextC part MqEnvS …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
[in] | callfunc | a user-defined postfix to identify the calling function or the environment (default=name-of-function ) |
[in] | lvl | a user-defined prefix starting with "" for lvl=0 and increase with " " for lvl+1 (default=0 ) |
MQ_EXTERN void MqContextLogLink_RT | ( | MK_RT const | mkrt, |
MQ_CTXN | ctx, | ||
MK_OBJN const | fmtobj, | ||
MK_DBG const | debug, | ||
MK_STRN const | callfunc, | ||
MK_I32 const | lvl ) |
log the MqContextC part MqLinkS …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
[in] | callfunc | a user-defined postfix to identify the calling function or the environment (default=name-of-function ) |
[in] | lvl | a user-defined prefix starting with "" for lvl=0 and increase with " " for lvl+1 (default=0 ) |
MQ_EXTERN void MqContextLogSetup_RT | ( | MK_RT const | mkrt, |
MQ_CTXN const | ctx, | ||
MK_OBJN | fmtobj, | ||
MK_DBG const | debug, | ||
MK_STRN const | callfunc, | ||
MK_I32 const | lvl ) |
log the MqContextC part MqSetupS …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
[in] | callfunc | a user-defined postfix to identify the calling function or the environment (default=name-of-function ) |
[in] | lvl | a user-defined prefix starting with "" for lvl=0 and increase with " " for lvl+1 (default=0 ) |
MQ_EXTERN void MqContextLogShort_RT | ( | MK_RT const | mkrt, |
MQ_CTXN const | ctx, | ||
MK_OBJN | fmtobj, | ||
MK_DBG const | debug, | ||
MK_STRN const | callfunc, | ||
MK_I32 const | lvl, | ||
MK_STRN const | label ) |
log the MqContextC with less info then MqContextLog …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
[in] | label | a string to identify a task or object |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
[in] | callfunc | a user-defined postfix to identify the calling function or the environment (default=name-of-function ) |
[in] | lvl | a user-defined prefix starting with "" for lvl=0 and increase with " " for lvl+1 (default=0 ) |
MQ_EXTERN void MqContextLogType_RT | ( | MK_RT const | mkrt, |
MQ_CTX const | ctx, | ||
MK_OBJ | fmtobj, | ||
MK_DBG const | debug, | ||
MK_STRN const | callfunc, | ||
MK_I32 const | lvl ) |
log the MqContextC part MkTypeS …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
[in] | callfunc | a user-defined postfix to identify the calling function or the environment (default=name-of-function ) |
[in] | lvl | a user-defined prefix starting with "" for lvl=0 and increase with " " for lvl+1 (default=0 ) |
|
inline |
is ctx a PARENT or a CHILD ? …
[in] | ctx | the MqContextS instance to work on |
Definition at line 9682 of file LibMqMsgque_mq.h.
Non-inline replacement for MqLogParentOrChild …
|
inline |
is ctx a SERVER or a CLIENT ? …
[in] | ctx | the MqContextS instance to work on |
Definition at line 9671 of file LibMqMsgque_mq.h.
Non-inline replacement for MqLogServerOrClient …