Class LogSinks
The static container for each of the three log sinks that Couchbase Lite can make use of.
Inheritance
System.Object
LogSinks
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Couchbase.Lite.Logging
Assembly: Couchbase.Lite.dll
Syntax
public static class LogSinks
Properties
| Improve this Doc View SourceConsole
Gets or sets the console logging sink. Useful for quick debugging, but expensive for production use.
Declaration
public static ConsoleLogSink Console { get; set; }
Property Value
Type | Description |
---|---|
ConsoleLogSink |
Custom
Gets or sets the custom logging sink. Useful for hooking into an existing logging infrastructure that may be set up in an application already.
Declaration
public static BaseLogSink Custom { get; set; }
Property Value
Type | Description |
---|---|
BaseLogSink |
File
Gets or sets the file logging sink. This must be set up in order to receive SDK support, as the logs files it generates will be requested.
Declaration
public static FileLogSink File { get; set; }
Property Value
Type | Description |
---|---|
FileLogSink |