CBLConsoleLogSink

@interface CBLConsoleLogSink : NSObject

A log sink that writes log messages to the console.

  • The minimum log level of the log messages to be logged. The default log level is warning.

    Declaration

    Objective-C

    @property (nonatomic, readonly) int level;
  • The set of log domains of the log messages to be logged. The default is all domains.

    Declaration

    Objective-C

    @property (nonatomic, readonly) int domains;
  • Initializes a console log sink with a specified log level.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLevel:(id)level;

    Parameters

    level

    The minimum log level.

  • Initializes a console log sink with a specified log level and log domains.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLevel:(id)level domains:(id)domains;

    Parameters

    level

    The minimum log level.

    domains

    The set of log domains.

  • Unavailable

    Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;