Package com.alivc.live.pusher
Enum AlivcLivePushLogLevel
- java.lang.Object
-
- java.lang.Enum<AlivcLivePushLogLevel>
-
- com.alivc.live.pusher.AlivcLivePushLogLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AlivcLivePushLogLevel>
public enum AlivcLivePushLogLevel extends java.lang.Enum<AlivcLivePushLogLevel>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AlivcLivePushLogLevelAll
SDK log级别 - AlivcLivePushLogLevelAll: 全部 - AlivcLivePushLogLevelVerbose: 冗长 - AlivcLivePushLogLevelDebug: 调试 - AlivcLivePushLogLevelInfo: 提示 - AlivcLivePushLogLevelWarn: 警告 - AlivcLivePushLogLevelError: 错误 - AlivcLivePushLogLevelNone: 不输出日志AlivcLivePushLogLevelDebug
AlivcLivePushLogLevelError
AlivcLivePushLogLevelInfo
AlivcLivePushLogLevelNone
AlivcLivePushLogLevelVerbose
AlivcLivePushLogLevelWarn
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLevel()
static AlivcLivePushLogLevel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AlivcLivePushLogLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AlivcLivePushLogLevelAll
public static final AlivcLivePushLogLevel AlivcLivePushLogLevelAll
SDK log级别 - AlivcLivePushLogLevelAll: 全部 - AlivcLivePushLogLevelVerbose: 冗长 - AlivcLivePushLogLevelDebug: 调试 - AlivcLivePushLogLevelInfo: 提示 - AlivcLivePushLogLevelWarn: 警告 - AlivcLivePushLogLevelError: 错误 - AlivcLivePushLogLevelNone: 不输出日志
-
AlivcLivePushLogLevelVerbose
public static final AlivcLivePushLogLevel AlivcLivePushLogLevelVerbose
-
AlivcLivePushLogLevelDebug
public static final AlivcLivePushLogLevel AlivcLivePushLogLevelDebug
-
AlivcLivePushLogLevelInfo
public static final AlivcLivePushLogLevel AlivcLivePushLogLevelInfo
-
AlivcLivePushLogLevelWarn
public static final AlivcLivePushLogLevel AlivcLivePushLogLevelWarn
-
AlivcLivePushLogLevelError
public static final AlivcLivePushLogLevel AlivcLivePushLogLevelError
-
AlivcLivePushLogLevelNone
public static final AlivcLivePushLogLevel AlivcLivePushLogLevelNone
-
-
Method Detail
-
values
public static AlivcLivePushLogLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AlivcLivePushLogLevel c : AlivcLivePushLogLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlivcLivePushLogLevel valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getLevel
public int getLevel()
-
-