CBLLogFileConfiguration

@interface CBLLogFileConfiguration : NSObject

Log file configuration.

  • The directory to store the log files.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull directory;
  • To use plain text file format instead of the default binary format.

    Declaration

    Objective-C

    @property (nonatomic) BOOL usePlainText;
  • The maximum size of a log file before being rotated in bytes. The default is kCBLDefaultLogFileMaxSize

    Declaration

    Objective-C

    @property (nonatomic) uint64_t maxSize;
  • The Max number of rotated log files to keep. The default value is kCBLDefaultLogFileMaxRotateCount

    Declaration

    Objective-C

    @property (nonatomic) NSInteger maxRotateCount;
  • Initializes with a directory to store the log files.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDirectory:(nonnull NSString *)directory;

    Parameters

    directory

    The directory.

    Return Value

    The CBLLogFileConfiguration object.

  • Unavailable

    Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;