Package com.couchbase.lite
Interface Logger
-
- All Known Implementing Classes:
ConsoleLogger
,FileLogger
public interface Logger
The logging interface for Couchbase Lite. An application that wishes to route log messages to an arbitrary endpoint can do so by installing an implemention of this interface withLog.setCustom(Logger)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LogLevel
getLevel()
Gets the level that will be logged via this logger.void
log(LogLevel level, LogDomain domain, java.lang.String message)
Performs the actual logging logic
-
-
-
Method Detail
-
getLevel
@NonNull LogLevel getLevel()
Gets the level that will be logged via this logger.- Returns:
- The maximum level to log
-
-