Guardtime KSI c SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Enumerations | Functions
log.h File Reference
#include "common.h"
#include "types.h"

Go to the source code of this file.

Enumerations

enum  KSI_LOG_LVL_en {
  KSI_LOG_NONE = 0x00, KSI_LOG_ERROR = 0x01, KSI_LOG_WARN = 0x02, KSI_LOG_NOTICE = 0x03,
  KSI_LOG_INFO = 0x04, KSI_LOG_DEBUG = 0x05
}
 

Functions

int KSI_LOG_debug (KSI_CTX *ctx, char *format,...) KSI_ATTRIBUTE((format(printf
 
int int KSI_LOG_info (KSI_CTX *ctx, char *format,...) KSI_ATTRIBUTE((format(printf
 
int int int KSI_LOG_notice (KSI_CTX *ctx, char *format,...) KSI_ATTRIBUTE((format(printf
 
int int int int KSI_LOG_warn (KSI_CTX *ctx, char *format,...) KSI_ATTRIBUTE((format(printf
 
int int int int int KSI_LOG_error (KSI_CTX *ctx, char *format,...) KSI_ATTRIBUTE((format(printf
 
int int int int int int KSI_LOG_logBlob (KSI_CTX *ctx, int level, const char *prefix_format, const unsigned char *data, size_t data_len,...) KSI_ATTRIBUTE((format(printf
 
int int int int int int int KSI_LOG_logTlv (KSI_CTX *ctx, int level, const char *prefix, const KSI_TLV *tlv)
 
int KSI_LOG_logDataHash (KSI_CTX *ctx, int level, const char *prefix, const KSI_DataHash *hsh)
 
int KSI_LOG_logCtxError (KSI_CTX *ctx, int level)
 
int KSI_LOG_StreamLogger (void *logCtx, int logLevel, const char *message)