Package com.couchbase.lite
Class ConsoleLogger
java.lang.Object
com.couchbase.lite.ConsoleLogger
- All Implemented Interfaces:
Logger
Deprecated.
Use com.couchbase.lite.logging.ConsoleLogSink
A class that sends log messages to Android's system log, available via 'adb logcat'.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the set of domains currently being logged to the console.getLevel()
Deprecated.Gets the level that will be logged by the current logger.void
Deprecated.Performs the actual logging logicvoid
setDomains
(LogDomain... domains) Deprecated.Sets the domains that will be considered for writing to the console log.void
setDomains
(EnumSet<LogDomain> domains) Deprecated.Sets the domains that will be considered for writing to the console log.void
Deprecated.Sets the lowest level that will be logged to the console.
-
Method Details
-
getLevel
Deprecated.Gets the level that will be logged by the current logger. -
setLevel
Deprecated.Sets the lowest level that will be logged to the console.- Parameters:
level
- The lowest (most verbose) level to include in the logs
-
getDomains
Deprecated.Get the set of domains currently being logged to the console.- Returns:
- The currently active domains
-
setDomains
Deprecated.Sets the domains that will be considered for writing to the console log.- Parameters:
domains
- The domains to make active
-
setDomains
Deprecated.Sets the domains that will be considered for writing to the console log.- Parameters:
domains
- The domains to make active (vararg)
-
log
Deprecated.Description copied from interface:Logger
Performs the actual logging logic
-