toggle menu
AppUpdater
androidJvm
switch theme
search in API
app-updater
/
com.king.app.updater.util
/
LogUtils
Log
Utils
open
class
LogUtils
Author
Jenly
Jenly
Members
Properties
ASSERT
Link copied to clipboard
val
ASSERT
:
Int
=
7
Priority constant for the println method.use Log.wtf.
DEBUG
Link copied to clipboard
val
DEBUG
:
Int
=
3
Priority constant for the println method; use Log.d.
ERROR
Link copied to clipboard
val
ERROR
:
Int
=
6
Priority constant for the println method; use Log.e.
INFO
Link copied to clipboard
val
INFO
:
Int
=
4
Priority constant for the println method; use Log.i.
is
Show
Log
Link copied to clipboard
open
var
isShowLog
:
Boolean
是否显示Log日志
PRINTLN
Link copied to clipboard
val
PRINTLN
:
Int
=
1
Priority constant for the println method;use System.out.
priority
Link copied to clipboard
open
var
priority
:
Int
Log日志优先权
TAG
Link copied to clipboard
val
TAG
:
String
=
"AppUpdater"
TAG_FORMAT
Link copied to clipboard
val
TAG_FORMAT
:
String
=
"%s.%s(%s:%d)"
VERBOSE
Link copied to clipboard
val
VERBOSE
:
Int
=
2
Priority constant for the println method; use Log.v.
VERTICAL
Link copied to clipboard
val
VERTICAL
:
String
=
"|"
WARN
Link copied to clipboard
val
WARN
:
Int
=
5
Priority constant for the println method; use Log.w.
Functions
d
Link copied to clipboard
open
fun
d
(
msg
:
String
)
Log.
open
fun
d
(
t
:
Throwable
)
open
fun
d
(
msg
:
String
,
t
:
Throwable
)
e
Link copied to clipboard
open
fun
e
(
msg
:
String
)
Log.
open
fun
e
(
t
:
Throwable
)
open
fun
e
(
msg
:
String
,
t
:
Throwable
)
get
Stack
Trace
Element
Link copied to clipboard
open
fun
getStackTraceElement
(
n
:
Int
)
:
StackTraceElement
获取堆栈
i
Link copied to clipboard
open
fun
i
(
msg
:
String
)
Log.
open
fun
i
(
t
:
Throwable
)
open
fun
i
(
msg
:
String
,
t
:
Throwable
)
print
Link copied to clipboard
open
fun
print
(
obj
:
Any
)
open
fun
print
(
msg
:
String
)
System.out.
printf
Link copied to clipboard
open
fun
printf
(
msg
:
String
)
System.out.
println
Link copied to clipboard
open
fun
println
(
obj
:
Any
)
open
fun
println
(
msg
:
String
)
System.out.
v
Link copied to clipboard
open
fun
v
(
msg
:
String
)
Log.
open
fun
v
(
t
:
Throwable
)
open
fun
v
(
msg
:
String
,
t
:
Throwable
)
w
Link copied to clipboard
open
fun
w
(
msg
:
String
)
Log.
open
fun
w
(
t
:
Throwable
)
open
fun
w
(
msg
:
String
,
t
:
Throwable
)
wtf
Link copied to clipboard
open
fun
wtf
(
msg
:
String
)
Log.
open
fun
wtf
(
t
:
Throwable
)
open
fun
wtf
(
msg
:
String
,
t
:
Throwable
)