Click or drag to resize

Log Class

Centralized logging facility.
Inheritance Hierarchy
SystemObject
  Couchbase.Lite.UtilLog

Namespace:  Couchbase.Lite.Util
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public static class Log

The Log type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberDisabled
Gets or sets a value indicated if logging is disabled (if so, nothing will be logged)
Public propertyStatic memberLevel
Gets or sets the logging level for Log.* calls (domains must be set with their respective interfaces
Public propertyStatic memberScrubSensitivity
Gets or sets the level at which the logger will redacted sensivity information from the logs.
Top
Methods
  NameDescription
Public methodStatic memberAddLogger
Add a logger to the list of loggers to write output to
Public methodStatic memberD(String, String)
Send a DEBUG message.
Public methodStatic memberD(String, String, Exception)
Send a DEBUG message and log the exception.
Public methodStatic memberD(String, String, Object)
Send a DEBUG message
Public methodStatic memberE(String, String)
Send an ERROR message.
Public methodStatic memberE(String, String, Exception)
Send a ERROR message and log the exception.
Public methodStatic memberE(String, String, Object)
Send a ERROR message
Public methodStatic memberI(String, String)
Send an INFO message.
Public methodStatic memberI(String, String, Exception)
Send a INFO message and log the exception.
Public methodStatic memberI(String, String, Object)
Send a INFO message
Public methodStatic memberSetDefaultLogger
Sets the logger to the library provided logger
Public methodStatic memberSetDefaultLoggerWithLevel Obsolete.
Sets up Couchbase Lite to use the default logger (an internal class), with the specified logging level
Public methodStatic memberSetLogger
Sets the logger.
Public methodStatic memberV(String, String)
Send a VERBOSE message.
Public methodStatic memberV(String, String, Exception)
Send a VERBOSE message and log the exception.
Public methodStatic memberV(String, String, Object)
Send a VERBOSE message
Public methodStatic memberW(String, Exception) Obsolete.
Send a WARN message.
Public methodStatic memberW(String, String)
Send a WARN message.
Public methodStatic memberW(String, String, Exception)
Send a WARN message and log the exception.
Public methodStatic memberW(String, String, Object)
Send a WARN message and log the exception.
Top
Fields
  NameDescription
Public fieldStatic memberDomains
The available logging domains (for use with setting the logging level on various domains)
Top
See Also