Package com.couchbase.lite.logging
Class BaseLogSink
java.lang.Object
com.couchbase.lite.internal.logging.AbstractLogSink
com.couchbase.lite.logging.BaseLogSink
public abstract class BaseLogSink
extends com.couchbase.lite.internal.logging.AbstractLogSink
Base class for Custom log sinks.
Override the constructors and implement the writeLog method to send logs to a custom destination.
Only logs that match the filter level and domain will be passed to the writeLog method.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionBaseLogSink
(LogLevel level) BaseLogSink
(LogLevel level, LogDomain domain1, LogDomain... domains) protected
BaseLogSink
(LogLevel level, Collection<LogDomain> domains) -
Method Summary
Methods inherited from class com.couchbase.lite.internal.logging.AbstractLogSink
aggregateDomains, defaultDomains, getDomains, getLevel, isLegacy, listDomains, log, similarDomains, similarLevels, writeLog
-
Constructor Details
-
BaseLogSink
-
BaseLogSink
-
BaseLogSink
-