toggle menu
Android-Vast-Extension
androidJvm
switch theme
search in API
log-mars
/
com.tencent.mars.xlog
/
Log
/
LogImp
Log
Imp
interface
LogImp
Inheritors
Xlog
Members
Functions
appender
Close
Link copied to clipboard
abstract
fun
appenderClose
(
)
appender
Flush
Link copied to clipboard
abstract
fun
appenderFlush
(
logInstancePtr
:
Long
,
isSync
:
Boolean
)
appender
Open
Link copied to clipboard
abstract
fun
appenderOpen
(
level
:
Int
,
mode
:
Int
,
cacheDir
:
String
,
logDir
:
String
,
namePrefix
:
String
,
cacheDays
:
Int
,
pubKey
:
String
)
get
Log
Level
Link copied to clipboard
abstract
fun
getLogLevel
(
logInstancePtr
:
Long
)
:
Int
get
Xlog
Instance
Link copied to clipboard
abstract
fun
getXlogInstance
(
namePrefix
:
String
)
:
Long
log
D
Link copied to clipboard
abstract
fun
logD
(
logInstancePtr
:
Long
,
tag
:
String
,
filename
:
String
,
funcname
:
String
,
linuxTid
:
Int
,
pid
:
Int
,
tid
:
Long
,
maintid
:
Long
,
log
:
String
)
log
E
Link copied to clipboard
abstract
fun
logE
(
logInstancePtr
:
Long
,
tag
:
String
,
filename
:
String
,
funcname
:
String
,
linuxTid
:
Int
,
pid
:
Int
,
tid
:
Long
,
maintid
:
Long
,
log
:
String
)
log
F
Link copied to clipboard
abstract
fun
logF
(
logInstancePtr
:
Long
,
tag
:
String
,
filename
:
String
,
funcname
:
String
,
linuxTid
:
Int
,
pid
:
Int
,
tid
:
Long
,
maintid
:
Long
,
log
:
String
)
log
I
Link copied to clipboard
abstract
fun
logI
(
logInstancePtr
:
Long
,
tag
:
String
,
filename
:
String
,
funcname
:
String
,
linuxTid
:
Int
,
pid
:
Int
,
tid
:
Long
,
maintid
:
Long
,
log
:
String
)
log
V
Link copied to clipboard
abstract
fun
logV
(
logInstancePtr
:
Long
,
tag
:
String
,
filename
:
String
,
funcname
:
String
,
linuxTid
:
Int
,
pid
:
Int
,
tid
:
Long
,
maintid
:
Long
,
log
:
String
)
log
W
Link copied to clipboard
abstract
fun
logW
(
logInstancePtr
:
Long
,
tag
:
String
,
filename
:
String
,
funcname
:
String
,
linuxTid
:
Int
,
pid
:
Int
,
tid
:
Long
,
maintid
:
Long
,
log
:
String
)
open
Log
Instance
Link copied to clipboard
abstract
fun
openLogInstance
(
level
:
Int
,
mode
:
Int
,
cacheDir
:
String
,
logDir
:
String
,
namePrefix
:
String
,
cacheDays
:
Int
)
:
Long
release
Xlog
Instance
Link copied to clipboard
abstract
fun
releaseXlogInstance
(
namePrefix
:
String
)
set
Appender
Mode
Link copied to clipboard
abstract
fun
setAppenderMode
(
logInstancePtr
:
Long
,
mode
:
Int
)
set
Console
Log
Open
Link copied to clipboard
abstract
fun
setConsoleLogOpen
(
logInstancePtr
:
Long
,
isOpen
:
Boolean
)
set
Max
Alive
Time
Link copied to clipboard
abstract
fun
setMaxAliveTime
(
logInstancePtr
:
Long
,
aliveSeconds
:
Long
)
set
Max
File
Size
Link copied to clipboard
abstract
fun
setMaxFileSize
(
logInstancePtr
:
Long
,
aliveSeconds
:
Long
)