Uses of Class
com.composum.sling.core.logging.Message.Level
-
Packages that use Message.Level Package Description com.composum.sling.core.logging com.composum.sling.core.servlet -
-
Uses of Message.Level in com.composum.sling.core.logging
Fields in com.composum.sling.core.logging declared as Message.Level Modifier and Type Field Description protected Message.Level
Message. level
protected @Nullable Message.Level
Message. logLevel
The level at which this message is logged, if different from level.Methods in com.composum.sling.core.logging that return Message.Level Modifier and Type Method Description @NotNull Message.Level
Message. getLevel()
The kind of message - informational, warning, error.@Nullable Message.Level
Message. getLogLevel()
The level with which we will log the message ifMessageContainer
has a logger.static Message.Level
Message.Level. valueOf(String name)
Returns the enum constant of this type with the specified name.static Message.Level[]
Message.Level. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.composum.sling.core.logging with parameters of type Message.Level Modifier and Type Method Description protected void
Message. appendFormattedTo(StringBuilder buf, String indent, Message.Level baseLevel)
@NotNull Message
Message. setLogLevel(@Nullable Message.Level logLevel)
Sets the level with which we will log the message ifMessageContainer
has a logger.Constructors in com.composum.sling.core.logging with parameters of type Message.Level Constructor Description Message(@Nullable Message.Level level, @NotNull String rawText, Object... arguments)
Creates a message. -
Uses of Message.Level in com.composum.sling.core.servlet
Methods in com.composum.sling.core.servlet that return Message.Level Modifier and Type Method Description Message.Level
TranslationServlet.TranslateStatus. levelOf(@NotNull String name)
Methods in com.composum.sling.core.servlet with parameters of type Message.Level Modifier and Type Method Description @NotNull Message
Status. addValidationMessage(@NotNull Message.Level level, @Nullable String context, @Nullable String label, @NotNull String text, Object... args)
For use with validation messages: add context and label, too.protected void
Status. adjustToMessageLevel(Message.Level level)
Adjusts title, status and success / warning according to message level.Message
Status. shortMessage(@NotNull Message.Level level, @NotNull String text, Object... args)
Adds a message with minimum information.
-