theKernel 10.0
Loading...
Searching...
No Matches
MkLogFileC_C_API

MkLogFileC - the class known as lfl or log-file is used to control the target of the logging-outputMore...

+ Collaboration diagram for MkLogFileC_C_API:

Topics

 MkLogFileC_Class_C_API
 MkLogFileC - define the class …
 
 MkLogFileC_TOR_C_API
 MkLogFileC - various functions to 'create and delete' a MkLogFileS
 
 MkLogFileC_Write_C_API
 MkLogFileC - various functions to 'write' into a MkLogFileS
 

Data Structures

struct  MkLogDataS
 struct to hold the mkrt-logging-dataMore...
 
struct  MkLogFileS
 define a MkLogFileC object … More...
 

Macros

#define MkDbgLogData(d)
 

Typedefs

typedef struct MkLogDataS MkLogDataS
 struct to hold the mkrt-logging-data
 

Detailed Description

MkLogFileC - the class known as lfl or log-file is used to control the target of the logging-output

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)

Macro Definition Documentation

◆ MkDbgLogData

#define MkDbgLogData ( d)
Value:
MkDbgV_2O(MK_ERROR_FORMAT,MK_COLOR_LIGHT_CYAN "FROM=%s -> TO=%s [%d]" MK_COLOR_RESET "\n", \
MK_RT_REF.log.logNAME, (d), MK_RT_REF.log.logREF);
#define MK_ERROR_FORMAT
#define MkDbgV_2O(o, printfmt,...)
#define MK_RT_REF

Definition at line 9073 of file LibMkKernel_mk.h.

9073#define MkDbgLogData(d) \
9074 MkDbgV_2O(MK_ERROR_FORMAT,MK_COLOR_LIGHT_CYAN "FROM=%s -> TO=%s [%d]" MK_COLOR_RESET "\n", \
9075 MK_RT_REF.log.logNAME, (d), MK_RT_REF.log.logREF);

Typedef Documentation

◆ MkLogDataS

typedef struct MkLogDataS MkLogDataS

struct to hold the mkrt-logging-data