Packages

package cc

Type Members

  1. 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 Logger sub-class configuration to control logger behavior

    LoggerConfiguration is for Logger sub-class configuration to control logger behavior

    isDTEnabled

    is datetime enabled

    isTraceEnabled

    is trace enabled

    isHostnameEnabled

    is hostname enabled

    logPrefix

    option of log prefix string

    logLevel

    one of LogLevel log level

  2. 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

  3. 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

  4. case class TelegramRobot(chatID: Option[String], token: Option[String]) extends Product with Serializable

    Telegram Robot

    Telegram Robot

    chatID

    telegram chatID

    token

    telegram webhook token

Ungrouped