Enum Class LoggerType

java.lang.Object
java.lang.Enum<LoggerType>
org.qiunet.utils.logger.LoggerType
All Implemented Interfaces:
Serializable, Comparable<LoggerType>, Constable, ILoggerType

public enum LoggerType extends Enum<LoggerType> implements ILoggerType
日志类型 Created by qiunet. 17/8/18
  • Enum Constant Details

    • DUODUO

      public static final LoggerType DUODUO
      普通的日志打印
    • DUODUO_ONLINE

      public static final LoggerType DUODUO_ONLINE
      在线打印
    • DUODUO_CROSS

      public static final LoggerType DUODUO_CROSS
      跨服日志
    • DUODUO_HTTP

      public static final LoggerType DUODUO_HTTP
      http请求
    • DUODUO_SQL

      public static final LoggerType DUODUO_SQL
      sql日志打印
    • DUODUO_REDIS

      public static final LoggerType DUODUO_REDIS
      redis 的 日志打印
    • DUODUO_HOTSWAP

      public static final LoggerType DUODUO_HOTSWAP
      热替换的日志打印
    • DUODUO_CREATOR

      public static final LoggerType DUODUO_CREATOR
      自动生成的日志打印
    • DUODUO_USE_TIME

      public static final LoggerType DUODUO_USE_TIME
      用时警告等打印
    • DUODUO_GAME_TEST

      public static final LoggerType DUODUO_GAME_TEST
      游戏测试日志
    • DUODUO_CFG_READER

      public static final LoggerType DUODUO_CFG_READER
      读配置的日志打印
    • DUODUO_FLASH_HANDLER

      public static final LoggerType DUODUO_FLASH_HANDLER
      flashHandler 的日志
  • Method Details

    • values

      public static LoggerType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LoggerType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getLogger

      public org.slf4j.Logger getLogger()
      Specified by:
      getLogger in interface ILoggerType