Click or drag to resize

LogDomains Class

Contains all the available logging domains for the library, along with some functions to easily manipulate their verbosity
Inheritance Hierarchy
SystemObject
  Couchbase.Lite.UtilLogDomains

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

The LogDomains type exposes the following members.

Properties
  NameDescription
Public propertyAll
Gets all the logging interfaces so logic can be applied to all of them
Public propertyChangeTracker
Gets the logging interface for change tracker logging, which is responsible for logging information about the change tracker portion of a pull replication (where the incoming changes are received and parsed)
Public propertyDatabase
Gets the logging interface for database logging, which is responsible for logging activity between the library and the disk, including creation of Documents / Revisions, disk I/O, etc
Public propertyDiscovery
Gets the logging interface for discovery logging, which is responsible for logging information about P2P discovery.
Public propertyListener
Gets the logging interface for listener logging, which is responsible for logging information about the P2P REST API listener (connections, authorization, non-routing logic)
Public propertyQuery
Gets the logging interface for query logging, which is responsible for logging information about in progress queries on data.
Public propertyRouter
Gets the logging interface for router logging, which is responsible for logging information about the routing logic in the listener component (i.e. REST API provider for P2P)
Public propertySync
Gets the logging interface for sync logging, which is responsible for logging activity between the library and remote (network) endpoints.
Public propertyTaskScheduling
Gets the logging interface for task scheduling, which is responsible for logging information about scheduling tasks in task schedulers.
Public propertyUpgrade
Gets the logging interface for upgrade logging, which is responsible for logging information about local database upgrades (when a new version of Couchbase Lite changes the database layout in a way that is not backwards compatible)
Public propertyValidation
Gets the logging interface for validation logging, which is responsible for logging information about revision validation (a user-defined function)
Public propertyView
Gets the logging interface for view logging, which is responsible for logging information about constructed views on data.
Top
Methods
  NameDescription
Public methodExcept
Gets all of the logging interfaces except the ones specified so that logic can be applied to all of them
Public methodGroup
Groups the specified loggers together to apply the given logic to all of them at once. For example:
Log.Domains.Group(Log.Domains.Listener, Log.Domains.Discovery).Level = Log.LogLevel.Verbose;
Top
See Also