CBLCustomLogSink
@interface CBLCustomLogSink : NSObject
                A log sink that writes log messages to a custom log sink implementation.
- 
                  
                  
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; - 
                  
                  
The custom log sink implementation that receives the log messages.
Declaration
Objective-C
@property (nonatomic, readonly) id<CBLLogSinkProtocol> _Nonnull logSink; - 
                  
                  
Initializes a custom log sink with a specified log level and custom log sink implementation.
Declaration
Objective-C
- (nonnull instancetype)initWithLevel:(id)level logSink:(nonnull id<CBLLogSinkProtocol>)logSink;Parameters
levelThe minimum log level.
logSinkThe custom log sink implementation.
 - 
                  
                  
Initializes a custom log sink with a specified log level, log domains, and custom log sink implementation.
Declaration
Objective-C
- (nonnull instancetype)initWithLevel:(id)level domains:(id)domains logSink:(nonnull id<CBLLogSinkProtocol>)logSink;Parameters
levelThe minimum log level.
domainsThe set of log domains.
logSinkThe custom log sink implementation.
 
        CBLCustomLogSink Class Reference