Package io.agora.rtc2

Enum Class Constants.LogLevel

java.lang.Object
java.lang.Enum<Constants.LogLevel>
io.agora.rtc2.Constants.LogLevel
All Implemented Interfaces:
Serializable, Comparable<Constants.LogLevel>, Constable
Enclosing class:
Constants

public static enum Constants.LogLevel extends Enum<Constants.LogLevel>
Log Level.
  • Enum Constant Details

    • LOG_LEVEL_NONE

      public static final Constants.LogLevel LOG_LEVEL_NONE
      Outputs no log.
    • LOG_LEVEL_INFO

      public static final Constants.LogLevel LOG_LEVEL_INFO
      Outputs logs of the INFO level.
    • LOG_LEVEL_WARN

      public static final Constants.LogLevel LOG_LEVEL_WARN
      Outputs logs of the WARNING level.
    • LOG_LEVEL_ERROR

      public static final Constants.LogLevel LOG_LEVEL_ERROR
      Outputs logs of the ERROR level.
    • LOG_LEVEL_FATAL

      public static final Constants.LogLevel LOG_LEVEL_FATAL
      Outputs logs of the CRITICAL level.
  • Method Details

    • values

      public static Constants.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 Constants.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
    • getValue

      public static int getValue(Constants.LogLevel type)