Enum Class的使用
cool.scx.logging.ScxLoggingType
使用ScxLoggingType的程序包
-
cool.scx.logging中ScxLoggingType的使用
修饰符和类型方法说明static ScxLoggingType根据 名称 获取 ScxLoggingTypestatic ScxLoggingTypeScxLoggingType.of(String loggingTypeName, ScxLoggingType defaultLoggingType) 根据 名称 获取 ScxLoggingTypefinal ScxLoggingTypeScxLogger.type()astatic ScxLoggingTypeReturns the enum constant of this class with the specified name.static ScxLoggingType[]ScxLoggingType.values()Returns an array containing the constants of this enum class, in the order they are declared.参数类型为ScxLoggingType的cool.scx.logging中的方法修饰符和类型方法说明static ScxLoggingTypeScxLoggingType.of(String loggingTypeName, ScxLoggingType defaultLoggingType) 根据 名称 获取 ScxLoggingTypestatic voidScxLoggerFactory.setDefaultType(ScxLoggingType newType) Setter for the fielddefaultType.final ScxLoggerScxLogger.setType(ScxLoggingType newType) Setter for the fieldtype.