Module de.carne

Class LogLevel

  • All Implemented Interfaces:
    java.io.Serializable

    public class LogLevel
    extends java.util.logging.Level
    Custom Level class for the log levels used by class Log.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static LogLevel fromLevel​(java.util.logging.Level level)
      Gets the LogLevel corresponding to a Level instance.
      • Methods inherited from class java.util.logging.Level

        equals, getLocalizedName, getName, getResourceBundleName, hashCode, intValue, parse, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • LEVEL_NOTICE

        public static final LogLevel LEVEL_NOTICE
        Level Notice.
      • LEVEL_ERROR

        public static final LogLevel LEVEL_ERROR
        Level Error.
      • LEVEL_WARNING

        public static final LogLevel LEVEL_WARNING
        Level Warning.
      • LEVEL_INFO

        public static final LogLevel LEVEL_INFO
        Level Info.
      • LEVEL_DEBUG

        public static final LogLevel LEVEL_DEBUG
        Level Debug.
      • LEVEL_TRACE

        public static final LogLevel LEVEL_TRACE
        Level Trace.
    • Method Detail

      • fromLevel

        public static LogLevel fromLevel​(java.util.logging.Level level)
        Gets the LogLevel corresponding to a Level instance.
        Parameters:
        level - the Level instance to map.
        Returns:
        the LogLevel corresponding to a Level instance.