枚举 Level

    • 枚举常量详细资料

      • AV_LOG_STDERR

        public static final Level AV_LOG_STDERR
        This log level is defined by FFmpegKit. It is used to specify logs printed to stderr by FFmpeg. Logs that has this level are not filtered and always redirected.
      • AV_LOG_QUIET

        public static final Level AV_LOG_QUIET
        Print no output.
      • AV_LOG_PANIC

        public static final Level AV_LOG_PANIC
        Something went really wrong and we will crash now.
      • AV_LOG_FATAL

        public static final Level AV_LOG_FATAL
        Something went wrong and recovery is not possible. For example, no header was found for a format which depends on headers or an illegal combination of parameters is used.
      • AV_LOG_ERROR

        public static final Level AV_LOG_ERROR
        Something went wrong and cannot losslessly be recovered. However, not all future data is affected.
      • AV_LOG_WARNING

        public static final Level AV_LOG_WARNING
        Something somehow does not look correct. This may or may not lead to problems. An example would be the use of '-vstrict -2'.
      • AV_LOG_INFO

        public static final Level AV_LOG_INFO
        Standard information.
      • AV_LOG_VERBOSE

        public static final Level AV_LOG_VERBOSE
        Detailed information.
      • AV_LOG_DEBUG

        public static final Level AV_LOG_DEBUG
        Stuff which is only useful for libav* developers.
      • AV_LOG_TRACE

        public static final Level AV_LOG_TRACE
        Extremely verbose debugging, useful for libav* development.
    • 方法详细资料

      • values

        public static Level[] values()
        按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
        for (Level c : Level.values())
            System.out.println(c);
        
        返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
      • valueOf

        public static Level valueOf​(String name)
        返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
        参数:
        name - 要返回的枚举常量的名称。
        返回:
        返回带有指定名称的枚举常量
        抛出:
        IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
        NullPointerException - 如果参数为空值
      • from

        public static Level from​(int value)

        Returns the enumeration defined by provided value.

        参数:
        value - level value
        返回:
        enumeration defined by value
      • getValue

        public int getValue()
        Returns level value.
        返回:
        level value