Xlog

open class Xlog : Log.LogImp

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
open class XLogConfig

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val ZLIB_MODE: Int = 0
Link copied to clipboard
val ZSTD_MODE: Int = 1

Functions

Link copied to clipboard
open fun appenderClose()
Link copied to clipboard
open fun appenderFlush(logInstancePtr: Long, isSync: Boolean)
Link copied to clipboard
private open fun appenderOpen(logConfig: Xlog.XLogConfig)
open fun appenderOpen(level: Int, mode: Int, cacheDir: String, logDir: String, nameprefix: String, cacheDays: Int, pubkey: String)
Link copied to clipboard
private open fun decryptTag(tag: String): String
Link copied to clipboard
open fun getLogLevel(logInstancePtr: Long): Int
Link copied to clipboard
open fun getXlogInstance(namePrefix: String): Long
Link copied to clipboard
open fun logD(logInstancePtr: Long, tag: String, filename: String, funcname: String, line: Int, pid: Int, tid: Long, maintid: Long, log: String)
Link copied to clipboard
open fun logE(logInstancePtr: Long, tag: String, filename: String, funcname: String, line: Int, pid: Int, tid: Long, maintid: Long, log: String)
Link copied to clipboard
open fun logF(logInstancePtr: Long, tag: String, filename: String, funcname: String, line: Int, pid: Int, tid: Long, maintid: Long, log: String)
Link copied to clipboard
open fun logI(logInstancePtr: Long, tag: String, filename: String, funcname: String, line: Int, pid: Int, tid: Long, maintid: Long, log: String)
Link copied to clipboard
open fun logV(logInstancePtr: Long, tag: String, filename: String, funcname: String, line: Int, pid: Int, tid: Long, maintid: Long, log: String)
Link copied to clipboard
open fun logW(logInstancePtr: Long, tag: String, filename: String, funcname: String, line: Int, pid: Int, tid: Long, maintid: Long, log: String)
Link copied to clipboard
open fun logWrite(logInfo: Xlog.XLoggerInfo, log: String)
Link copied to clipboard
open fun logWrite2(level: Int, tag: String, filename: String, funcname: String, line: Int, pid: Int, tid: Long, maintid: Long, log: String)
open fun logWrite2(logInstancePtr: Long, level: Int, tag: String, filename: String, funcname: String, line: Int, pid: Int, tid: Long, maintid: Long, log: String)
Link copied to clipboard
open fun newXlogInstance(logConfig: Xlog.XLogConfig): Long
Link copied to clipboard
open fun open(isLoadLib: Boolean, level: Int, mode: Int, cacheDir: String, logDir: String, namePrefix: String, pubkey: String)
Link copied to clipboard
open fun openLogInstance(level: Int, mode: Int, cacheDir: String, logDir: String, nameprefix: String, cacheDays: Int): Long
Link copied to clipboard
open fun releaseXlogInstance(namePrefix: String)
Link copied to clipboard
open fun setAppenderMode(logInstancePtr: Long, mode: Int)
Link copied to clipboard
open fun setConsoleLogOpen(logInstancePtr: Long, isOpen: Boolean)
Link copied to clipboard
open fun setMaxAliveTime(logInstancePtr: Long, aliveSeconds: Long)
Link copied to clipboard
open fun setMaxFileSize(logInstancePtr: Long, aliveSeconds: Long)