Namespace Couchbase.Lite.Logging
Classes
BaseLogSink
The abstract base class of log sinks to inherit from for Custom
ConsoleLogSink
A log sink that writes to the console of a given platform. For console
applications and WinUI, this means calling System.Console.WriteLine(System.String)
and, if a debugger is attached, System.Diagnostics.Debug.WriteLine(System.String). Android
applications will make use of Android.Util.Log
with a "CouchbaseLite" domain,
while iOS / Mac Catalyst will use CoreFoundation.OSLog
with a subsystem
"CouchbaseLite" and category "dotnet".
FileLogger
[DEPRECATED] A class that controls the file logging facility of Couchbase Lite
FileLogSink
A log sink for writing log messages to files on disk. This class must be set up in order to receive support for the SDK. Each log level is written into a separate file.
Log
[DEPRECATED] The class that stores the three available logging facilities in Couchbase Lite
LogFileConfiguration
[DEPRECATED] A class that describes the file configuration for the FileLogger class. These options must be set atomically so they won't take effect unless a new configuration object is set on the logger. Attempting to modify an in-use configuration object will result in an exception being thrown.
LogSinks
The static container for each of the three log sinks that Couchbase Lite can make use of.
Interfaces
IConsoleLogger
[DEPRECATED] An interface for an object that will log messages to the relevant debug console. For desktop this is the terminal, WinUI uses the visual studio debug output pane, iOS uses os_log and Android uses logcat.
ILogger
[DEPRECATED] An interface for implementing a class that can accept logging messages from Couchbase Lite
Enums
LogDomain
Contains all the available logging domains for the library. Each log domain writes messages regarding a specific area of Couchbase Lite operation.
LogLevel
Defines the Couchbase Lite log verbosity levels. The default level is Warning.