Logger

open class Logger

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val ASSERT: Int = 7
Link copied to clipboard
val DEBUG: Int = 3
Link copied to clipboard
val ERROR: Int = 6
Link copied to clipboard
val INFO: Int = 4
Link copied to clipboard
val LOGCAT: String = "LogCat"
Link copied to clipboard
val VERBOSE: Int = 2
Link copied to clipboard
val WARN: Int = 5

Functions

Link copied to clipboard
open fun addLoggable(key: String, loggable: Loggable)
Link copied to clipboard
open fun d(tag: String, msg: String)
open fun d(tag: String, msg: String, tr: Throwable)
Prints a message at DEBUG priority.
Link copied to clipboard
open fun e(tag: String, msg: String)
open fun e(tag: String, msg: String, tr: Throwable)
Prints a message at ERROR priority.
Link copied to clipboard
open fun getLogLevel(): Int
Link copied to clipboard
open fun i(tag: String, msg: String)
open fun i(tag: String, msg: String, tr: Throwable)
Prints a message at INFO priority.
Link copied to clipboard
open fun println(priority: Int, tag: String, msg: String)
open fun println(priority: Int, tag: String, msg: String, tr: Throwable)
Instructs the LogNode to print the log data provided.
Link copied to clipboard
open fun printLogBeforeInitialize(logLevel: Int, @NonNull tag: String, @NonNull message: String)
Gamebase 초기화 전에는 DebugMode 설정이 초기값 상태라 Logger로 로그 출력이 안되므로 강제로 로그를 출력하는 함수.
Link copied to clipboard
Link copied to clipboard
open fun setLogLevel(level: Int)
Link copied to clipboard
open fun setMessagePrefix(key: String, prefix: String)
Link copied to clipboard
open fun v(tag: String, msg: String)
open fun v(tag: String, msg: String, tr: Throwable)
Prints a message at VERBOSE priority.
Link copied to clipboard
open fun w(tag: String, msg: String)
open fun w(tag: String, tr: Throwable)
open fun w(tag: String, msg: String, tr: Throwable)
Prints a message at WARN priority.
Link copied to clipboard
open fun wtf(tag: String, msg: String)
open fun wtf(tag: String, tr: Throwable)
open fun wtf(tag: String, msg: String, tr: Throwable)
Prints a message at ASSERT priority.