-
public class FileLoggerConfig extends DefaultLoggerConfig
日志记录器配置;适用于 FileLogger
Logger configuration for FileLogger
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFileLoggerConfig.BuilderFileLoggerConfig 构建器
Builder for FileLoggerConfig
public classFileLoggerConfig.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BooleanlogToLogcatprivate final LongmaxFileSizeprivate final IntegermaxFileCountprivate final StringfilePrefixprivate final StringfileExtensionprivate final StringfileNameFormatPatternprivate final StringlogDateFormatPatternprivate final StringlogDirprivate final LongreuseThresholdMillisprivate final BooleanshowThreadInfoprivate final IntegermethodCountprivate final LogFormatlogFormatprivate final IntegermethodOffset
-
Method Summary
Modifier and Type Method Description final BooleangetLogToLogcat()final LonggetMaxFileSize()final IntegergetMaxFileCount()final StringgetFilePrefix()final StringgetFileExtension()final StringgetFileNameFormatPattern()final StringgetLogDateFormatPattern()final StringgetLogDir()final LonggetReuseThresholdMillis()final BooleangetShowThreadInfo()final IntegergetMethodCount()final LogFormatgetLogFormat()final IntegergetMethodOffset()-
-
Method Detail
-
getLogToLogcat
final Boolean getLogToLogcat()
-
getMaxFileSize
final Long getMaxFileSize()
-
getMaxFileCount
final Integer getMaxFileCount()
-
getFilePrefix
final String getFilePrefix()
-
getFileExtension
final String getFileExtension()
-
getFileNameFormatPattern
final String getFileNameFormatPattern()
-
getLogDateFormatPattern
final String getLogDateFormatPattern()
-
getReuseThresholdMillis
final Long getReuseThresholdMillis()
-
getShowThreadInfo
final Boolean getShowThreadInfo()
-
getMethodCount
final Integer getMethodCount()
-
getLogFormat
final LogFormat getLogFormat()
-
getMethodOffset
final Integer getMethodOffset()
-
-
-
-