LogUtils

open class LogUtils

Author

Jenly Jenly

Properties

Link copied to clipboard
val ASSERT: Int = 7
Priority constant for the println method.use Log.wtf.
Link copied to clipboard
val DEBUG: Int = 3
Priority constant for the println method; use Log.d.
Link copied to clipboard
val ERROR: Int = 6
Priority constant for the println method; use Log.e.
Link copied to clipboard
val INFO: Int = 4
Priority constant for the println method; use Log.i.
Link copied to clipboard
open var isShowLog: Boolean
是否显示Log日志
Link copied to clipboard
val PRINTLN: Int = 1
Priority constant for the println method;use System.out.
Link copied to clipboard
open var priority: Int
Log日志优先权
Link copied to clipboard
val TAG: String = "AppUpdater"
Link copied to clipboard
val TAG_FORMAT: String = "%s.%s(%s:%d)"
Link copied to clipboard
val VERBOSE: Int = 2
Priority constant for the println method; use Log.v.
Link copied to clipboard
val VERTICAL: String = "|"
Link copied to clipboard
val WARN: Int = 5
Priority constant for the println method; use Log.w.

Functions

Link copied to clipboard
open fun d(msg: String)
Log.
open fun d(t: Throwable)
open fun d(msg: String, t: Throwable)
Link copied to clipboard
open fun e(msg: String)
Log.
open fun e(t: Throwable)
open fun e(msg: String, t: Throwable)
Link copied to clipboard
获取堆栈
Link copied to clipboard
open fun i(msg: String)
Log.
open fun i(t: Throwable)
open fun i(msg: String, t: Throwable)
Link copied to clipboard
open fun print(obj: Any)

open fun print(msg: String)
System.out.
Link copied to clipboard
open fun printf(msg: String)
System.out.
Link copied to clipboard
open fun println(obj: Any)

open fun println(msg: String)
System.out.
Link copied to clipboard
open fun v(msg: String)
Log.
open fun v(t: Throwable)
open fun v(msg: String, t: Throwable)
Link copied to clipboard
open fun w(msg: String)
Log.
open fun w(t: Throwable)
open fun w(msg: String, t: Throwable)
Link copied to clipboard
open fun wtf(msg: String)
Log.
open fun wtf(t: Throwable)
open fun wtf(msg: String, t: Throwable)