Package org.qiunet.utils.logger
Enum Class LoggerType
- All Implemented Interfaces:
Serializable,Comparable<LoggerType>,Constable,ILoggerType
日志类型
Created by qiunet.
17/8/18
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription普通的日志打印读配置的日志打印自动生成的日志打印跨服日志flashHandler 的日志游戏测试日志热替换的日志打印http请求在线打印redis 的 日志打印sql日志打印用时警告等打印 -
Method Summary
Modifier and TypeMethodDescriptionorg.slf4j.Loggerstatic LoggerTypeReturns the enum constant of this class with the specified name.static LoggerType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.qiunet.utils.logger.ILoggerType
debug, debug, debug, error, error, error, error, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, warn, warn
-
Enum Constant Details
-
DUODUO
普通的日志打印 -
DUODUO_ONLINE
在线打印 -
DUODUO_CROSS
跨服日志 -
DUODUO_HTTP
http请求 -
DUODUO_SQL
sql日志打印 -
DUODUO_REDIS
redis 的 日志打印 -
DUODUO_HOTSWAP
热替换的日志打印 -
DUODUO_CREATOR
自动生成的日志打印 -
DUODUO_USE_TIME
用时警告等打印 -
DUODUO_GAME_TEST
游戏测试日志 -
DUODUO_CFG_READER
读配置的日志打印 -
DUODUO_FLASH_HANDLER
flashHandler 的日志
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getLogger
public org.slf4j.Logger getLogger()- Specified by:
getLoggerin interfaceILoggerType
-