Package com.couchbase.lite.logging
Class FileLogSink
java.lang.Object
com.couchbase.lite.internal.logging.AbstractLogSink
com.couchbase.lite.logging.FileLogSink
public class FileLogSink
extends com.couchbase.lite.internal.logging.AbstractLogSink
A log sink that writes log messages the LiteCore logfile.
Do not subclass! This class will be final in future versions of Couchbase Lite
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.couchbase.lite.internal.logging.AbstractLogSink
aggregateDomains, defaultDomains, getDomains, getLevel, isLegacy, listDomains, log, similarDomains, similarLevels
-
Constructor Details
-
FileLogSink
-
-
Method Details
-
getDirectory
-
getMaxKeptFiles
public final int getMaxKeptFiles() -
getMaxFileSize
public final long getMaxFileSize() -
isPlainText
public final boolean isPlainText() -
toString
-
hashCode
public final int hashCode() -
equals
-
similar
-
writeLog
protected void writeLog(@NonNull LogLevel level, @NonNull LogDomain domain, @NonNull String message) - Specified by:
writeLog
in classcom.couchbase.lite.internal.logging.AbstractLogSink
-