mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Make @LogLevel public and TYPE_USE
#minor-release PiperOrigin-RevId: 426410137
This commit is contained in:
parent
b3e8ee4548
commit
1d8f34e444
1 changed files with 5 additions and 1 deletions
|
|
@ -15,6 +15,8 @@
|
|||
*/
|
||||
package androidx.media3.common.util;
|
||||
|
||||
import static java.lang.annotation.ElementType.TYPE_USE;
|
||||
|
||||
import android.text.TextUtils;
|
||||
import androidx.annotation.IntDef;
|
||||
import androidx.annotation.Nullable;
|
||||
|
|
@ -22,6 +24,7 @@ import androidx.annotation.Size;
|
|||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import java.net.UnknownHostException;
|
||||
import org.checkerframework.dataflow.qual.Pure;
|
||||
|
||||
|
|
@ -35,8 +38,9 @@ public final class Log {
|
|||
*/
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@Target(TYPE_USE)
|
||||
@IntDef({LOG_LEVEL_ALL, LOG_LEVEL_INFO, LOG_LEVEL_WARNING, LOG_LEVEL_ERROR, LOG_LEVEL_OFF})
|
||||
@interface LogLevel {}
|
||||
public @interface LogLevel {}
|
||||
/** Log level to log all messages. */
|
||||
public static final int LOG_LEVEL_ALL = 0;
|
||||
/** Log level to only log informative, warning and error messages. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue