Couchbase Lite C++
Couchbase Lite C++ API
Loading...
Searching...
No Matches
cbl::CustomLogSink Struct Reference

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

#include <cbl++/LogSinks.hh>

Public Member Functions

 operator CBLCustomLogSink () const

Public Attributes

LogLevel level = kCBLLogNone
 The minimum level of message to write (Required).
LogSinkCallback _Nullable callback
 Custom log callback.
LogDomainMask domains
 Bitmask for enabled log domains. Use zero for all domains.

Detailed Description

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

Member Function Documentation

◆ operator CBLCustomLogSink()

cbl::CustomLogSink::operator CBLCustomLogSink ( ) const
inline

Member Data Documentation

◆ callback

LogSinkCallback _Nullable cbl::CustomLogSink::callback

Custom log callback.

◆ domains

LogDomainMask cbl::CustomLogSink::domains

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

◆ level

LogLevel cbl::CustomLogSink::level = kCBLLogNone

The minimum level of message to write (Required).


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