Uses of Enum Class
com.log4rich.core.LogLevel
Packages that use LogLevel
Package
Description
-
Uses of LogLevel in com.log4rich
Methods in com.log4rich with parameters of type LogLevelModifier and TypeMethodDescriptionstatic voidLog4Rich.setLoggerLevel(String loggerName, LogLevel level) Sets a specific logger's level.static voidLog4Rich.setRootLevel(LogLevel level) Sets the root logger level. -
Uses of LogLevel in com.log4rich.appenders
Methods in com.log4rich.appenders that return LogLevelModifier and TypeMethodDescriptionAppender.getLevel()Get the minimum log level for this appender.ConsoleAppender.getLevel()Gets the minimum log level for this appender.RollingFileAppender.getLevel()Gets the minimum log level for this appender.Methods in com.log4rich.appenders with parameters of type LogLevelModifier and TypeMethodDescriptionbooleanAppender.isLevelEnabled(LogLevel level) Check if this appender will handle the given level.booleanConsoleAppender.isLevelEnabled(LogLevel level) Checks if the specified log level is enabled for this appender.booleanRollingFileAppender.isLevelEnabled(LogLevel level) Checks if the specified log level is enabled for this appender.voidSet the minimum log level for this appender.voidSets the minimum log level for this appender.voidSets the minimum log level for this appender. -
Uses of LogLevel in com.log4rich.config
Methods in com.log4rich.config that return LogLevelModifier and TypeMethodDescriptionConfiguration.getConsoleLevel()Gets the console log level, falling back to root level if not set.Configuration.getFileLevel()Gets the file log level, falling back to root level if not set.Configuration.getLoggerLevel(String loggerName) Gets the specific level for a logger, or null if not set.Configuration.getRootLevel()Gets the root logger level.Methods in com.log4rich.config that return types with arguments of type LogLevelModifier and TypeMethodDescriptionConfiguration.getLoggerLevels()Gets a copy of all logger-specific levels.Methods in com.log4rich.config with parameters of type LogLevelModifier and TypeMethodDescriptionvoidConfiguration.setLoggerLevel(String loggerName, LogLevel level) Sets the specific level for a logger.static voidConfigurationManager.setLoggerLevel(String loggerName, LogLevel level) Sets a specific logger's level.static voidConfigurationManager.setRootLevel(LogLevel level) Sets the root logger level. -
Uses of LogLevel in com.log4rich.core
Methods in com.log4rich.core that return LogLevelModifier and TypeMethodDescriptionstatic LogLevelLogLevel.fromString(String level) Parse a string to get the corresponding LogLevel.Logger.getLevel()Gets the current log level for this logger.static LogLevelReturns the enum constant of this class with the specified name.static LogLevel[]LogLevel.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.log4rich.core with parameters of type LogLevelModifier and TypeMethodDescriptionbooleanLogLevel.isGreaterOrEqual(LogLevel level) Check if this level is enabled for the given level.booleanLogger.isLevelEnabled(LogLevel level) Checks if the specified level is enabled for this logger.voidSets the log level for this logger. -
Uses of LogLevel in com.log4rich.util
Methods in com.log4rich.util that return LogLevelConstructors in com.log4rich.util with parameters of type LogLevelModifierConstructorDescriptionLoggingEvent(LogLevel level, String message, String loggerName, LocationInfo locationInfo) Creates a new LoggingEvent without an exception.LoggingEvent(LogLevel level, String message, String loggerName, LocationInfo locationInfo, Throwable throwable) Creates a new LoggingEvent with all parameters.