CBLLog

@interface CBLLog : NSObject

Log allows to configure console and file logger or to set a custom logger.

  • Console logger writing log messages to the system console.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CBLConsoleLogger *_Nonnull console;
  • File logger writing log messages to files.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CBLFileLogger *_Nonnull file;
  • For setting a custom logger. Changing the log level of the assigned custom logger will require the custom logger to be reassigned so that the change can be affected.

    Declaration

    Objective-C

    @property (nonatomic, nullable) id<CBLLogger> custom;
  • Unavailable

    Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;