|
Couchbase Lite C
Couchbase Lite C API
|
#include "CBLBase.h"Go to the source code of this file.
Data Structures | |
| struct | CBLConsoleLogSink |
| Console log sink configuration for logging to the cosole. More... | |
| struct | CBLCustomLogSink |
| Custom log sink configuration for logging to a user-defined callback. More... | |
| struct | CBLFileLogSink |
| File log sink configuration for logging to files. More... | |
Typedefs | |
| typedef void(* | CBLLogSinkCallback) (CBLLogDomain domain, CBLLogLevel level, FLString message) |
| A callback function for a custom log sink. | |
Enumerations | |
| enum | CBLLogLevel : uint8_t { kCBLLogDebug , kCBLLogVerbose , kCBLLogInfo , kCBLLogWarning , kCBLLogError , kCBLLogNone } |
| enum | CBLLogDomain : uint8_t { kCBLLogDomainDatabase , kCBLLogDomainQuery , kCBLLogDomainReplicator , kCBLLogDomainNetwork , kCBLLogDomainListener } |
| enum | CBLLogDomainMask : uint16_t { kCBLLogDomainMaskDatabase = 1 << kCBLLogDomainDatabase , kCBLLogDomainMaskQuery = 1 << kCBLLogDomainQuery , kCBLLogDomainMaskReplicator = 1 << kCBLLogDomainReplicator , kCBLLogDomainMaskNetwork = 1 << kCBLLogDomainNetwork , kCBLLogDomainMaskListener = 1 << kCBLLogDomainListener , kCBLLogDomainMaskAll = 0xFF } |
Functions | |
| void | CBLLogSinks_SetConsole (CBLConsoleLogSink sink) |
| Set the console log sink. | |
| CBLConsoleLogSink | CBLLogSinks_Console (void) |
| Get the current console log sink. | |
| void | CBLLogSinks_SetCustom (CBLCustomLogSink sink) |
| Set the custom log sink. | |
| CBLCustomLogSink | CBLLogSinks_CustomSink (void) |
| Get the current custom log sink. | |
| void | CBLLogSinks_SetFile (CBLFileLogSink sink) |
| Set the file log sink. | |
| CBLFileLogSink | CBLLogSinks_File (void) |
| Get the current custom log sink. | |