|
LiteCore
Couchbase Lite cross-platform core implementation
|
Configuration for creating a C4LogObserver, which may either call a callback or write to a file (but not both.) Exactly one of callback and fileOptions must be non-NULL.
More...
#include <c4Log.h>
Data Fields | |
| C4LogLevel | defaultLevel |
| Log level for domains not listed. | |
| const C4DomainLevel * | domains |
| List of domains and levels (may be NULL if empty) | |
| size_t | domainsCount |
Length of domains array. | |
| C4LogObserverCallback | callback |
| C callback to invoke. | |
| void * | callbackContext |
context value to pass to the callback | |
| const C4LogFileOptions * | fileOptions |
Config for file logging (Note: log_level is ignored) | |
Configuration for creating a C4LogObserver, which may either call a callback or write to a file (but not both.) Exactly one of callback and fileOptions must be non-NULL.
| C4LogObserverCallback C4LogObserverConfig::callback |
C callback to invoke.
| void* C4LogObserverConfig::callbackContext |
context value to pass to the callback
| C4LogLevel C4LogObserverConfig::defaultLevel |
Log level for domains not listed.
| const C4DomainLevel* C4LogObserverConfig::domains |
List of domains and levels (may be NULL if empty)
| size_t C4LogObserverConfig::domainsCount |
Length of domains array.
| const C4LogFileOptions* C4LogObserverConfig::fileOptions |
Config for file logging (Note: log_level is ignored)