MkLogFileC - various functions to 'create and delete' a MkLogFileS … More...
Collaboration diagram for MkLogFileC_TOR_C_API:Functions | |
| enum MkErrorE | MkLogFileOpen_RT (MK_RT mkrt, MK_OBJN fmtobj, MK_STRN const file, MK_LFL *lfh_out) |
| open the log-file in append mode … | |
| void | MkLogFileClose_RT (MK_RT mkrt, MK_LFL lfh) |
| Destructor - delete a MkLogFileC instance … | |
MkLogFileC - MkLogFileC_TOR_C_API - overload | |
| #define | MkLogFileOpen_NULL(...) |
| #define | MkLogFileOpen(...) |
| #define | MkLogFileOpen_2(file, lfh_out) |
| #define | MkLogFileOpen_E(...) |
| #define | MkLogFileOpen_C(...) |
| #define | MkLogFileOpen_e(...) |
| #define | MkLogFileClose(x) |
MkLogFileC - various functions to 'create and delete' a MkLogFileS …
| #define MkLogFileClose | ( | x | ) |
Definition at line 1477 of file kernel_overload_mk.h.
| #define MkLogFileOpen | ( | ... | ) |
Definition at line 1470 of file kernel_overload_mk.h.
| #define MkLogFileOpen_2 | ( | file, | |
| lfh_out ) |
Definition at line 1471 of file kernel_overload_mk.h.
| #define MkLogFileOpen_C | ( | ... | ) |
Definition at line 1473 of file kernel_overload_mk.h.
| #define MkLogFileOpen_E | ( | ... | ) |
Definition at line 1472 of file kernel_overload_mk.h.
| #define MkLogFileOpen_e | ( | ... | ) |
Definition at line 1474 of file kernel_overload_mk.h.
| #define MkLogFileOpen_NULL | ( | ... | ) |
Definition at line 1469 of file kernel_overload_mk.h.
Destructor - delete a MkLogFileC instance …
There are two different ways to delete an instance:
| ObjectDispose | to free the internal data but keep the outher shell alive - this is called a SOFT-DELETE |
| ObjectDelete | to delete the outher shell including the internal data - this is called a HARD-DELETE |
open the log-file in append mode …
The new instance belongs to the caller and may have to be released if necessary. A manual release using LogFileClose is always possible, but the instance can no longer be used afterwards.
| [in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
| [in] | fmtobj | managed object used to format the log-message (default=None → use default-format) |
| [in] | file | the filename to open |
| [out] | lfh_out | returns |
| MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
None