FileLoggerConfig

日志记录器配置;适用于 FileLogger

Logger configuration for FileLogger

Author

Jenly

Follow me

Parameters

logToLogcat

Whether to also output logs to Logcat.

maxFileSize

Maximum size for single log file (in bytes)

maxFileCount

Maximum number of log files.

filePrefix

Log file name prefix.

fileExtension

Log file extension.

fileNameFormatPattern

Log filename format pattern.

logDateFormatPattern

Date-time format pattern in log entries.

logDir

Directory path for storing logs.

reuseThresholdMillis

Time threshold (in milliseconds) for reusing log files.

logFormat

Log display format.

showThreadInfo

Whether to show thread info.

methodCount

How many method line to show.

methodOffset

Stack trace offset (hides internal method calls)

Types

Link copied to clipboard
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard