Click or drag to resize

LogSetDefaultLoggerWithLevel Method

Note: This API is now obsolete.

Sets up Couchbase Lite to use the default logger (an internal class), with the specified logging level

Namespace:  Couchbase.Lite.Util
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
[ObsoleteAttribute("Use the SetDefaultLogger() with no arguments to restore the default logger, and use the Level property to change the verbosity")]
public static bool SetDefaultLoggerWithLevel(
	SourceLevels level
)

Parameters

level
Type: System.DiagnosticsSourceLevels
The levels to log

Return Value

Type: Boolean
true, if the logger was changed, false otherwise.
See Also