package cc
Type Members
-
case class
LoggerConfiguration(isDTEnabled: Boolean = true, isTraceEnabled: Boolean = false, isHostnameEnabled: Boolean = true, logPrefix: Option[String] = None, logLevel: LogLevel.Value = LogLevel.TRACE) extends Product with Serializable
LoggerConfiguration is for
Loggersub-class configuration to control logger behavior -
case class
OneLog(level: Option[LogLevel.Value], hostname: Option[String], datetime: Option[LocalDateTime], className: Option[String], methodName: Option[String], lineNumber: Option[String], prefix: Option[String], msg: Option[String]) extends Product with Serializable
OneLog case class is for storing a real log, including level, hostname, datetime, className, methodName, lineNumber, prefix and msg
OneLog case class is for storing a real log, including level, hostname, datetime, className, methodName, lineNumber, prefix and msg
- level
option log level of
LogLevel- hostname
option hostname of String
- datetime
option datetime of
LocalDateTime- className
option className of String
- methodName
option methodName of String
- lineNumber
option lineNumber of String
- prefix
option prefix of String
- msg
option msg of String, the real log content
-
case class
Robot(token: Option[String], sign: Option[String]) extends Product with Serializable
Robot case class for DingTalk and Feishu webhook logger
Robot case class for DingTalk and Feishu webhook logger
- token
webhook token
- sign
webhook sign secret
-
case class
TelegramRobot(chatID: Option[String], token: Option[String]) extends Product with Serializable
Telegram Robot
Telegram Robot
- chatID
telegram chatID
- token
telegram webhook token