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=null → use default-format) |
[in] | callfunc | a user-defined postfix to identify the calling-function or the environment (default = name-of-function, null = resolve-own-name) |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
|
inline |
C#:
→ C-API obj.Log(MkObjectC fmtobj = null, int debug = 0, [CallerMemberName]string callfunc = null, int lvl = 0)
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
Definition at line 527 of file MkObjectC.cs.
|
inline |
C#:
→ C-API fmtobj.LogC(string message, int debug = 0, [CallerMemberName]string callfunc = null)
write a logging-message to MkLogFileC (default: stderr) using the internal format …
Definition at line 506 of file MkObjectC.cs.
|
inline |
C#:
→ C-API fmtobj.LogHEX(string callfunc, byte[] data)
log binaray data as HEX into the MkLogFileC (default: stderr) …
Definition at line 516 of file MkObjectC.cs.
|
inline |
C#:
→ C-API obj.LogLong(MkObjectC fmtobj = null, int debug = 0, [CallerMemberName]string callfunc = null, int lvl = 0)
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
Definition at line 536 of file MkObjectC.cs.
|
inline |
C#:
→ C-API obj.LogShort(MkObjectC fmtobj = null, int debug = 0, [CallerMemberName]string callfunc = null, int lvl = 0)
log the MkObjectS into the MkLogFileC (default: stderr) …
Definition at line 545 of file MkObjectC.cs.
|
inline |
C#:
→ C-API obj.LogType(MkObjectC fmtobj = null, int debug = 0, [CallerMemberName]string callfunc = null, int lvl = 0)
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
Definition at line 554 of file MkObjectC.cs.