Uses of Enum
org.refcodes.logger.LogPriority
-
Uses of LogPriority in org.refcodes.logger
Modifier and TypeMethodDescriptionstatic LogPriority
Translates (as good as it gets) a JULLevel
to aLogPriority
.LogPriorityColumn.fromStorageStrings
(String[] aStringValues) LogPriorityAccessor.getLogPriority()
Retrieves theLogPriority
from theLogPriorityAccessor
.RuntimeLoggerImpl.getLogPriority()
Retrieves theLogPriority
from theLogPriorityAccessor
.RuntimeLoggerSingleton.getLogPriority()
Retrieves theLogPriority
from theLogPriorityAccessor
.default LogPriority
LogPriorityAccessor.LogPriorityProperty.letLogPriority
(LogPriority aLogPriority) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofLogPriorityAccessor.LogPriorityMutator.setLogPriority(LogPriority)
and returns the very same value (getter).static LogPriority
LogPriority.toProprtiry
(String aPriorityName) Determines the priority from the given name, ignoring the case.static LogPriority
Returns the enum constant of this type with the specified name.static LogPriority[]
LogPriority.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionprotected void
RuntimeLoggerImpl.doLog
(LogPriority aPriority, String aMessage, StackTraceElement aStackTraceElement, Throwable aThrowable) Helper method to log the required information.boolean
RuntimeLogger.isLog
(LogPriority aPriority) Determines whether theRuntimeLogger
is being configured to log messages of the accordingLogPriority
.boolean
RuntimeLoggerImpl.isLog
(LogPriority aPriority) Determines whether theRuntimeLogger
is being configured to log messages of the accordingLogPriority
.boolean
RuntimeLoggerSingleton.isLog
(LogPriority aPriority) Determines whether theRuntimeLogger
is being configured to log messages of the accordingLogPriority
.default LogPriority
LogPriorityAccessor.LogPriorityProperty.letLogPriority
(LogPriority aLogPriority) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofLogPriorityAccessor.LogPriorityMutator.setLogPriority(LogPriority)
and returns the very same value (getter).void
RuntimeLogger.log
(LogPriority aPriority, String aMessage, Throwable aThrowable) Creates a new log message.void
RuntimeLogger.log
(LogPriority aPriority, String aMessage, Throwable aThrowable, Object... aArguments) Creates a new log message.void
RuntimeLoggerImpl.log
(LogPriority aPriority, String aMessage) Creates a new log message.void
RuntimeLoggerImpl.log
(LogPriority aPriority, String aMessage, Object... aArguments) Creates a new log message.void
RuntimeLoggerImpl.log
(LogPriority aPriority, String aMessage, Throwable aThrowable) Creates a new log message.void
RuntimeLoggerImpl.log
(LogPriority aPriority, String aMessage, Throwable aThrowable, Object... aArguments) Creates a new log message.void
RuntimeLoggerSingleton.log
(LogPriority aMarker, String aMessage) Creates a new log message.void
RuntimeLoggerSingleton.log
(LogPriority aMarker, String aMessage, Object... aArguments) Creates a new log message.void
RuntimeLoggerSingleton.log
(LogPriority aPriority, String aMessage, Throwable aThrowable) Creates a new log message.void
RuntimeLoggerSingleton.log
(LogPriority aPriority, String aMessage, Throwable aThrowable, Object... aArguments) Creates a new log message.void
LogPriorityAccessor.LogPriorityMutator.setLogPriority
(LogPriority aPriority) Sets theLogPriority
for theLogPriorityAccessor
.void
RuntimeLoggerImpl.setLogPriority
(LogPriority aLogPriority) Sets theLogPriority
for theLogPriorityAccessor
.String[]
LogPriorityColumn.toStorageStrings
(LogPriority aValue) ModifierConstructorDescriptionRuntimeLoggerImpl
(String aName, Logger<Object> aLogger, LogPriority aPriority) Constructs aRuntimeLogger
logging with the givenLogger
and the desiredLogPriority
for the messages being logged and upwards (from the givengetPriority()
and higher).RuntimeLoggerImpl
(Logger<Object> aLogger, LogPriority aPriority) Constructs aRuntimeLogger
logging with the givenLogger
and the desiredLogPriority
for the messages being logged and upwards (from the givengetPriority()
and higher).