Couchbase Lite C
Couchbase Lite C API
Data Fields
CBLCustomLogSink Struct Reference

Custom log sink configuration for logging to a user-defined callback. More...

#include <cbl/CBLLogSinks.h>

Data Fields

CBLLogLevel level
 The minimum level of message to write (Required). More...
 
CBLLogSinkCallback _cbl_nullable callback
 Custom log callback (Required). More...
 
CBLLogDomainMask domains
 Bitmask for enabled log domains. Use zero for all domains. More...
 

Detailed Description

Custom log sink configuration for logging to a user-defined callback.

Field Documentation

◆ callback

CBLLogSinkCallback _cbl_nullable CBLCustomLogSink::callback

Custom log callback (Required).

◆ domains

CBLLogDomainMask CBLCustomLogSink::domains

Bitmask for enabled log domains. Use zero for all domains.

◆ level

CBLLogLevel CBLCustomLogSink::level

The minimum level of message to write (Required).


The documentation for this struct was generated from the following file: