Log

open class Log

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
interface LogImp
Link copied to clipboard
private open class LogInstance

Properties

Link copied to clipboard
val LEVEL_ALL: Int = 0
Link copied to clipboard
val LEVEL_DEBUG: Int = 1
Link copied to clipboard
val LEVEL_ERROR: Int = 4
Link copied to clipboard
val LEVEL_FATAL: Int = 5
Link copied to clipboard
val LEVEL_INFO: Int = 2
Link copied to clipboard
val LEVEL_NONE: Int = 6
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
private open var logImp: Log.LogImp
Link copied to clipboard

Functions

Link copied to clipboard
open fun appenderClose()
Link copied to clipboard
open fun appenderFlush()
Link copied to clipboard
open fun appenderFlushSync(isSync: Boolean)
Link copied to clipboard
open fun appenderOpen(level: Int, mode: Int, cacheDir: String, logDir: String, namePrefix: String, cacheDays: Int, pubkey: String)
Link copied to clipboard
private open fun closeLogInstance(namePrefix: String)
Link copied to clipboard
open fun d(tag: String, logInfo: LogInfo, msg: String)
Send a LEVEL_DEBUG log message.
Link copied to clipboard
open fun e(tag: String, logInfo: LogInfo, msg: String)
Send a LEVEL_ERROR log message.
Link copied to clipboard
open fun f(tag: String, logInfo: LogInfo, msg: String)
Send a LEVEL_FATAL log message.
Link copied to clipboard
Link copied to clipboard
private open fun getLogInstance(namePrefix: String): Log.LogInstance
Link copied to clipboard
open fun getLogLevel(): Int
Link copied to clipboard
open fun i(tag: String, logInfo: LogInfo, msg: String)
Send a LEVEL_INFO log message.
Link copied to clipboard
private open fun openLogInstance(level: Int, mode: Int, cacheDir: String, logDir: String, namePrefix: String, cacheDays: Int): Log.LogInstance
Link copied to clipboard
open fun setConsoleLogOpen(isOpen: Boolean)
Link copied to clipboard
open fun setLogImp(@NonNull imp: Log.LogImp)
Link copied to clipboard
open fun setMaxAliveTime(aliveSeconds: Long)
Link copied to clipboard
open fun setMaxFileSize(aliveSeconds: Long)
Link copied to clipboard
open fun v(tag: String, logInfo: LogInfo, msg: String)
Send a LEVEL_VERBOSE log message.
Link copied to clipboard
open fun w(tag: String, logInfo: LogInfo, msg: String)
Send a LEVEL_WARNING log message.