All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kzc_log.h File Reference

Core logging. More...

Functions

kzsError kzcLogList (KzsLogLevel level, kzString format, KZ_CONST_ARGLIST kzArgList *arguments)
 Logs a formatted message with arbitrary number of parameters. More...
 
KANZI_API kzsError kzcLog (KzsLogLevel level, kzString format,...)
 Logs a formatted message with arbitrary number of parameters. More...
 
KANZI_API void kzcLogDebug (kzString format,...)
 Logs a formatted message with arbitrary number of parameters with KZS_LOG_LEVEL_DEBUG. More...
 

Detailed Description

Core logging.

Higher level helper utilities for logging.

Copyright 2008-2020 by Rightware. All rights reserved.

Function Documentation

kzsError kzcLogList ( KzsLogLevel  level,
kzString  format,
KZ_CONST_ARGLIST kzArgList arguments 
)

Logs a formatted message with arbitrary number of parameters.

Arguments parameter provides the formatting arguments as variable arguments list. The formatting is the same as in kzcStringFormat.

KANZI_API kzsError kzcLog ( KzsLogLevel  level,
kzString  format,
  ... 
)

Logs a formatted message with arbitrary number of parameters.

Formatting arguments are given as variable arguments. The formatting is the same as in kzcStringFormat.

KANZI_API void kzcLogDebug ( kzString  format,
  ... 
)

Logs a formatted message with arbitrary number of parameters with KZS_LOG_LEVEL_DEBUG.

Formatting arguments are given as variable arguments. The formatting is the same as in kzcStringFormat. Warning: This function always uses a thread unsafe global system memory manager and discards all errors silently.