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 with
Log.setCustom(Logger)
.-
Method Summary
-
Method Details
-
getLevel
Gets the level that will be logged via this logger.- Returns:
- The maximum level to log
-
log
Performs the actual logging logic- Parameters:
level
- The level of the message to logdomain
- The domain of the message to logmessage
- The content of the message to log
-