|
Couchbase Lite C
Couchbase Lite C API
|
File log sink configuration for logging to files. More...
#include <cbl/CBLLogSinks.h>
Data Fields | |
| CBLLogLevel | level |
| The minimum level of message to write (Required). | |
| FLString | directory |
| The directory where log files will be created (Required). | |
| uint32_t | maxKeptFiles |
| The maximum number of files to save per log level. | |
| size_t | maxSize |
| The size in bytes at which a file will be rotated out (best effort). | |
| bool | usePlaintext |
| Whether or not to log in plaintext as opposed to binary. | |
File log sink configuration for logging to files.
| FLString CBLFileLogSink::directory |
The directory where log files will be created (Required).
| CBLLogLevel CBLFileLogSink::level |
The minimum level of message to write (Required).
| uint32_t CBLFileLogSink::maxKeptFiles |
The maximum number of files to save per log level.
The default is kCBLDefaultFileLogSinkMaxKeptFiles.
| size_t CBLFileLogSink::maxSize |
The size in bytes at which a file will be rotated out (best effort).
The default is kCBLDefaultFileLogSinkMaxSize.
| bool CBLFileLogSink::usePlaintext |
Whether or not to log in plaintext as opposed to binary.
Plaintext logging is slower and bigger. The default is kCBLDefaultFileLogSinkUsePlaintext.