Uses of Enum Class
org.pipservices3.components.log.LogLevel
Packages that use LogLevel
-
Uses of LogLevel in org.pipservices3.components.log
Methods in org.pipservices3.components.log that return LogLevelModifier and TypeMethodDescriptionILogger.getLevel()Gets the maximum log level.Logger.getLevel()Gets the maximum log level.LogMessage.getLevel()NullLogger.getLevel()Gets the maximum log level.static LogLevelLogLevelConverter.toLogLevel(Object value) Converts numbers and strings to standard log level values.static LogLevelLogLevelConverter.toLogLevel(Object value, LogLevel defaultValue) Converts numbers and strings to standard log level values.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 org.pipservices3.components.log with parameters of type LogLevelModifier and TypeMethodDescriptionprotected voidLogger.formatAndWrite(LogLevel level, String correlationId, Exception error, String message, Object[] args) Formats the log message and writes it to the logger destination.voidLogs a message at specified log level.voidLogs a message at specified log level.voidNullLogger.log(LogLevel level, String correlationId, Exception error, String message, Object... args) Logs a message at specified log level.voidSet the maximum log level.voidSet the maximum log level.voidvoidSet the maximum log level.static intConverts log level to a number.static LogLevelLogLevelConverter.toLogLevel(Object value, LogLevel defaultValue) Converts numbers and strings to standard log level values.static StringConverts log level to a string.protected voidWrites a log message to the logger destination.protected voidWrites a log message to the logger destination(s).protected voidWrites a log message to the logger destination.protected abstract voidWrites a log message to the logger destination.Constructors in org.pipservices3.components.log with parameters of type LogLevelModifierConstructorDescriptionLogMessage(LogLevel level, String source, String correlationId, org.pipservices3.commons.errors.ErrorDescription error, String message)