CBLLog

@interface CBLLog : NSObject

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

  • Deprecated

    Use CBLLogSinks.console instead.

    Console logger writing log messages to the system console.

    Declaration

    Objective-C

    @property (nonatomic, readonly) __deprecated_msg("Use CBLLogSinks.console instead.") CBLConsoleLogger *console;
  • Deprecated

    Use CBLLogSinks.file instead.

    File logger writing log messages to files.

    Declaration

    Objective-C

    @property (nonatomic, readonly) __deprecated_msg("Use CBLLogSinks.file instead.") CBLFileLogger *file;
  • Deprecated

    Use CBLLogSinks.custom instead.

    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;