Package-level declarations

Types

Link copied to clipboard
class MarsLogger(val logFormat: LogFormat) : Logger

Logger based on tencent/mars Implementation that integrates log printing and storage.

Functions

Link copied to clipboard
fun Logger.Companion.mars(logDir: File, logCache: File, logFormat: LogFormat = TableFormat( DEFAULT_MAX_SINGLE_LOG_LENGTH, DEFAULT_MAX_PRINT_TIMES, TableFormat.LogHeader.default ), mode: MarsWriteMode = MarsConfig.mode, namePreFix: String = MarsConfig.namePrefix, singleLogFileEveryday: Boolean = MarsConfig.singleLogFileEveryday, singleLogFileMaxSize: Long = MarsConfig.singleLogFileMaxSize, singleLogFileStoreTime: Long = MarsConfig.singleLogFileStoreTime, singleLogFileCacheDays: Int = MarsConfig.singleLogFileCacheDays, pubKey: String = MarsConfig.pubKey): MarsLogger

Mars Logger.