theKernel 10.0
Loading...
Searching...
No Matches
MkLogFileC_Write_CC_API

MkLogFileC - various functions to 'write' into a MkLogFileSMore...

+ Collaboration diagram for MkLogFileC_Write_CC_API:

Functions

void ccmkkernel::MkLogFileC::WriteC (MK_STRN text) const
  C++: lfl.WriteC(MK_STRN text) C-API
write to log-file
 
void ccmkkernel::MkLogFileC::WriteC (const std::string &text) const
  C++: lfl.WriteC(MK_STRN text) C-API
write to log-file
 
void ccmkkernel::MkLogFileC::WriteV (MK_FST printfmt,...) const
  C++: lfl.WriteV(MK_FST printfmt, ... ) C-API
write to log-file
 
void ccmkkernel::MkLogFileC::WriteVL (MK_FST printfmt, va_list var_list) const
  C++: lfl.WriteVL(MK_FST printfmt, va_list var_list) C-API
write to log-file
 
MK_STRN ccmkkernel::MkLogFileC::GetFile () const
  C++: MK_STRN lfl.GetFile() C-API
get the log-file
 

Detailed Description

MkLogFileC - various functions to 'write' into a MkLogFileS

Function Documentation

◆ GetFile()

MK_STRN ccmkkernel::MkLogFileC::GetFile ( ) const
inline

C++: MK_STRN lfl.GetFile() C-API
get the log-file

Definition at line 187 of file MkLogFileC_inline_cc.hh.

187 {
188 MK_UNUSED auto lfl = getLFLN();
189 MK_STRN file_out;
190 enum MkErrorE errVal = MkLogFileGetFile(lfl, &file_out);
191 MkErrorC_Check(lfl, errVal);
192 return file_out;
193 }
#define MkErrorC_Check(errObj, errVal)
#define MK_UNUSED
mark unnused variables and functions
MkErrorE
collection for the different error-codes …
const MK_STRB * MK_STRN
constant string pointer data-type
MK_LFLN getLFLN() const
(const) return the LibMsgqueObject from current MkLogFileC instance
#define MkLogFileGetFile(...)

◆ WriteC() [1/2]

void ccmkkernel::MkLogFileC::WriteC ( const std::string & text) const
inline

C++: lfl.WriteC(MK_STRN text) C-API
write to log-file

Definition at line 160 of file MkLogFileC_inline_cc.hh.

160 {
161 MK_UNUSED auto lfl = getLFLN__null_allow();
162 const MK_STRN text_hdl = text.c_str();
163 enum MkErrorE errVal = MkLogFileWriteC(lfl, text_hdl);
164 MkErrorC_Check(lfl, errVal);
165 }
MK_LFLN getLFLN__null_allow() const
(const) return the LibMsgqueObject from current MkLogFileC instance
#define MkLogFileWriteC(...)

◆ WriteC() [2/2]

void ccmkkernel::MkLogFileC::WriteC ( MK_STRN text) const
inline

C++: lfl.WriteC(MK_STRN text) C-API
write to log-file

Definition at line 153 of file MkLogFileC_inline_cc.hh.

153 {
154 MK_UNUSED auto lfl = getLFLN__null_allow();
155 enum MkErrorE errVal = MkLogFileWriteC(lfl, text);
156 MkErrorC_Check(lfl, errVal);
157 }

◆ WriteV()

void ccmkkernel::MkLogFileC::WriteV ( MK_FST printfmt,
... ) const
inline

C++: lfl.WriteV(MK_FST printfmt, ... ) C-API
write to log-file

Definition at line 168 of file MkLogFileC_inline_cc.hh.

168 {
169 MK_UNUSED auto lfl = getLFLN__null_allow();
170 va_list ap;
171 va_start (ap, printfmt);
172 enum MkErrorE errVal = MkLogFileWriteVL(lfl, printfmt, ap);
173 va_end (ap);
174 MkErrorC_Check(lfl, errVal);
175 }
#define MkLogFileWriteVL(...)

◆ WriteVL()

void ccmkkernel::MkLogFileC::WriteVL ( MK_FST printfmt,
va_list var_list ) const
inline

C++: lfl.WriteVL(MK_FST printfmt, va_list var_list) C-API
write to log-file

Definition at line 178 of file MkLogFileC_inline_cc.hh.

178 {
179 MK_UNUSED auto lfl = getLFLN__null_allow();
180 enum MkErrorE errVal = MkLogFileWriteVL(lfl, printfmt, var_list);
181 MkErrorC_Check(lfl, errVal);
182 }