Class Log


  • @Deprecated
    public final class Log
    extends Object
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Wrapper around Log which allows to set the log level and to specify a custom log output.
    • Field Detail

      • LOG_LEVEL_ALL

        public static final int LOG_LEVEL_ALL
        Deprecated.
        Log level to log all messages.
        See Also:
        Constant Field Values
      • LOG_LEVEL_INFO

        public static final int LOG_LEVEL_INFO
        Deprecated.
        Log level to only log informative, warning and error messages.
        See Also:
        Constant Field Values
      • LOG_LEVEL_WARNING

        public static final int LOG_LEVEL_WARNING
        Deprecated.
        Log level to only log warning and error messages.
        See Also:
        Constant Field Values
      • LOG_LEVEL_ERROR

        public static final int LOG_LEVEL_ERROR
        Deprecated.
        Log level to only log error messages.
        See Also:
        Constant Field Values
      • LOG_LEVEL_OFF

        public static final int LOG_LEVEL_OFF
        Deprecated.
        Log level to disable all logging.
        See Also:
        Constant Field Values