Couchbase Lite C
Couchbase Lite C API
|
The properties for configuring logging to files. More...
#include <cbl/CBLLog.h>
Data Fields | |
CBLLogLevel | level |
The minimum level of message to write. More... | |
FLString | directory |
The directory where log files will be created. More... | |
uint32_t | maxRotateCount |
Max number of older log files to keep (in addition to current one.) More... | |
size_t | maxSize |
The size in bytes at which a file will be rotated out (best effort). More... | |
bool | usePlaintext |
Whether or not to log in plaintext (as opposed to binary.) Plaintext logging is slower and bigger. More... | |
The properties for configuring logging to files.
usePlaintext
results in significantly larger log files and higher CPU usage that may slow down your app; we recommend turning it off in production. FLString CBLLogFileConfiguration::directory |
The directory where log files will be created.
CBLLogLevel CBLLogFileConfiguration::level |
The minimum level of message to write.
uint32_t CBLLogFileConfiguration::maxRotateCount |
Max number of older log files to keep (in addition to current one.)
size_t CBLLogFileConfiguration::maxSize |
The size in bytes at which a file will be rotated out (best effort).
bool CBLLogFileConfiguration::usePlaintext |
Whether or not to log in plaintext (as opposed to binary.) Plaintext logging is slower and bigger.