Enum Class LogLevel

java.lang.Object
java.lang.Enum<LogLevel>
de.mid.innovator.m2msdk.model.log.LogLevel
All Implemented Interfaces:
Serializable, Comparable<LogLevel>, Constable

public enum LogLevel extends Enum<LogLevel>
Enum specifying the log levels.
Version:
10.1.1
Author:
jmback
  • Enum Constant Details

    • Fatal

      public static final LogLevel Fatal
      An error has occurred, the application should terminate. The user has to be informed about this termination.
    • Error

      public static final LogLevel Error
      An error has occurred, the application may continue. The user has to be informed about this error.
    • Warning

      public static final LogLevel Warning
      A warning should be displayed to the user immediately to be informed or to take a decision.
    • Change

      public static final LogLevel Change
      A change will be or has been applied. Messages of this level address primarily the user.
    • Info

      public static final LogLevel Info
      A info for finding out, what happened in detail during the application. This info is not primarily for the user but should be understandable.
    • Debug

      public static final LogLevel Debug
      A info for finding out, what happened in detail during the application. This info is never intended for the user.
    • Trace

      public static final LogLevel Trace
      A info to trace maximally what happened. This info is never intended for the user.
    • All

      public static final LogLevel All
      All levels
  • Method Details

    • values

      public static LogLevel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LogLevel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • convert

      public static LogLevel convert(String iLevel)
      Convert string into enumeration. Like valueOf, but does not throw exceptions.
      Parameters:
      iLevel - level as string
      Returns:
      level as enumeration
    • toString

      public String toString()
      Overrides:
      toString in class Enum<LogLevel>
    • getIcon

      public String getIcon()
    • getDetail

      public String getDetail()
    • isLevelLogged

      public boolean isLevelLogged(SessionInterface session)