IOTC Platform  Ver: 4.3.6.2-0-ge1f616e
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
LogAttr Struct Reference

#include <TUTKGlobalAPIs.h>

Data Fields

const char * path
 
logLevel_t log_level
 
int32_t file_max_size
 
int32_t file_max_count
 

Detailed Description

The Log configuration

Parameters
path[in] The path of log file, NULL = disable Log
log_level[in] The log message with level log_level or higher would be logged, LEVEL_SILENCE = nothing would be logged
file_max_size[in] The maximum size of log file in bytes, 0 = unlimited
file_max_count[in] The maximum number of log file if file_max_size is set, 0 = unlimited

Field Documentation

int32_t file_max_count
int32_t file_max_size
logLevel_t log_level
const char* path

The documentation for this struct was generated from the following file: