Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0128d0b6
authored
Feb 04, 2022
by
ibaker
Committed by
Ian Baker
Feb 21, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Make @LogLevel public and TYPE_USE
#minor-release PiperOrigin-RevId: 426410137
parent
d3bb8efa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
library/common/src/main/java/com/google/android/exoplayer2/util/Log.java
library/common/src/main/java/com/google/android/exoplayer2/util/Log.java
View file @
0128d0b6
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
*/
*/
package
com
.
google
.
android
.
exoplayer2
.
util
;
package
com
.
google
.
android
.
exoplayer2
.
util
;
import
static
java
.
lang
.
annotation
.
ElementType
.
TYPE_USE
;
import
android.text.TextUtils
;
import
android.text.TextUtils
;
import
androidx.annotation.IntDef
;
import
androidx.annotation.IntDef
;
import
androidx.annotation.Nullable
;
import
androidx.annotation.Nullable
;
...
@@ -22,6 +24,7 @@ import androidx.annotation.Size;
...
@@ -22,6 +24,7 @@ import androidx.annotation.Size;
import
java.lang.annotation.Documented
;
import
java.lang.annotation.Documented
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.RetentionPolicy
;
import
java.lang.annotation.RetentionPolicy
;
import
java.lang.annotation.Target
;
import
java.net.UnknownHostException
;
import
java.net.UnknownHostException
;
import
org.checkerframework.dataflow.qual.Pure
;
import
org.checkerframework.dataflow.qual.Pure
;
...
@@ -34,8 +37,9 @@ public final class Log {
...
@@ -34,8 +37,9 @@ public final class Log {
*/
*/
@Documented
@Documented
@Retention
(
RetentionPolicy
.
SOURCE
)
@Retention
(
RetentionPolicy
.
SOURCE
)
@Target
(
TYPE_USE
)
@IntDef
({
LOG_LEVEL_ALL
,
LOG_LEVEL_INFO
,
LOG_LEVEL_WARNING
,
LOG_LEVEL_ERROR
,
LOG_LEVEL_OFF
})
@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. */
/** Log level to log all messages. */
public
static
final
int
LOG_LEVEL_ALL
=
0
;
public
static
final
int
LOG_LEVEL_ALL
=
0
;
/** Log level to only log informative, warning and error messages. */
/** Log level to only log informative, warning and error messages. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment