Enum Class的使用
cool.scx.logging.ScxLoggingType
使用ScxLoggingType的程序包
-
cool.scx.logging中ScxLoggingType的使用
修饰符和类型方法说明static ScxLoggingTypeastatic ScxLoggingTypeScxLoggingType.of(String loggingTypeName, ScxLoggingType defaultLoggingType) 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) astatic voidScxLoggerFactory.setDefaultType(ScxLoggingType newType) Setter for the fielddefaultType.static voidScxLoggerFactory.setType(Class<?> clazz, ScxLoggingType newType) setType.static voidScxLoggerFactory.setType(String name, ScxLoggingType newType) setType.static voidScxLoggerFactory.updateDefault(ScxLoggingLevel newDefaultLevel, ScxLoggingType newDefaultType, Path newDefaultStoredDirectory, boolean newDefaultStackTrace) 更新默认日志信息static voidScxLoggerFactory.updateLogger(Class<?> clazz, ScxLoggingLevel level, ScxLoggingType type, Path storedDirectory, Boolean stackTrace) 更新指定的 Logger 信息static voidScxLoggerFactory.updateLogger(String name, ScxLoggingLevel level, ScxLoggingType type, Path storedDirectory, Boolean stackTrace) 更新指定的 Logger 信息