LiteCore
Couchbase Lite cross-platform core implementation
Loading...
Searching...
No Matches
C4LogFileOptions Struct Reference

Configuration for file-based logging. More...

#include <c4Log.h>

Data Fields

C4LogLevel log_level
 The minimum level of message to be logged.
 
FLString base_path
 The path to the binary log file base name (other elements will be added)
 
int64_t max_size_bytes
 The maximum size of each log file (minimum 1024)
 
int32_t max_rotate_count
 The maximum amount of old log files to keep.
 
bool use_plaintext
 Disables binary encoding of the logs (not recommended)
 
FLString header
 Header text to print at the start of every log file.
 

Detailed Description

Configuration for file-based logging.

Field Documentation

◆ base_path

FLString C4LogFileOptions::base_path

The path to the binary log file base name (other elements will be added)

◆ header

FLString C4LogFileOptions::header

Header text to print at the start of every log file.

◆ log_level

C4LogLevel C4LogFileOptions::log_level

The minimum level of message to be logged.

◆ max_rotate_count

int32_t C4LogFileOptions::max_rotate_count

The maximum amount of old log files to keep.

◆ max_size_bytes

int64_t C4LogFileOptions::max_size_bytes

The maximum size of each log file (minimum 1024)

◆ use_plaintext

bool C4LogFileOptions::use_plaintext

Disables binary encoding of the logs (not recommended)


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