Class Logger.LEVEL

  • java.lang.Object
    • java.lang.Enum
      • com.worklight.common.Logger.LEVEL
  • All Implemented Interfaces:, java.lang.Comparable
    Enclosing class:

    public static class Logger.LEVEL
    extends java.lang.Enum
    Levels supported in this Logger class.
    See Also:
    Serialized Form
    • Method Detail

      • valueOf

        public static Logger.LEVEL valueOf(java.lang.String name)
      • fromString

        public static Logger.LEVEL fromString(java.lang.String level)
        Get the LEVEL enum from the level String parameter, or null if not found.

        Example: LEVEL.fromString("ERROR"); // returns LEVEL.ERROR enum

        level - a String representing the LEVEL enum
        LEVEL enum matching the level parameter, or null

© Copyright IBM Corp. 2006, 2015. All Rights Reserved.