Packages

package logger

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class GangLogger extends AnyRef

    GangLogger is a logger stack tool to store multiple loggers, and iteratively perform the log write action.

    GangLogger is a logger stack tool to store multiple loggers, and iteratively perform the log write action.

    Loggers are initialized using scala reflection.

  2. trait Logger extends AnyRef

    日志基础特质

  3. trait LoggerCompanion extends AnyRef

    trait of Logger companion object

Value Members

  1. object GangLogger

    GangLogger is a logger stack tool to store multiple loggers, and iteratively perform the log write action.

    GangLogger is a logger stack tool to store multiple loggers, and iteratively perform the log write action.

    GangLogger object can statically execute setLoggerAndConfiguration, killLogger, getLogger, clearLogger2Configuration and etc.

    like:

    import cn.tellyouwhat.gangsutils.logger.GangLogger
    import cn.tellyouwhat.gangsutils.logger.SupportedLogDest.{LOCAL_HTML_LOGGER, PRINTLN_LOGGER}
    import cn.tellyouwhat.gangsutils.logger.cc.LoggerConfiguration
    import cn.tellyouwhat.gangsutils.logger.dest.fs.LocalHtmlLogger
    
    LocalHtmlLogger.setLogSavePath("logs/ground.html")
    GangLogger.setLoggerAndConfiguration(Map(
    PRINTLN_LOGGER -> LoggerConfiguration(isDTEnabled = true, isTraceEnabled = true, isHostnameEnabled = true, logPrefix = Some("prefix")),
    LOCAL_HTML_LOGGER -> LoggerConfiguration(isDTEnabled = true, isTraceEnabled = true, isHostnameEnabled = true, logPrefix = Some("prefix")),
    ))
    val logger: GangLogger = GangLogger()
    

  2. object LogLevel extends Enumeration

    日志级别枚举

  3. object SupportedLogDest extends Enumeration

    Supported Log Destination

  4. object funcs

    gangsutils logger functions

Ungrouped