# Logger

open class Logger

## Constructors

Logger
Link copied to clipboard
constructor()

## Properties

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

## Functions

addLoggable
Link copied to clipboard
open fun addLoggable(key: String, loggable: Loggable)
d
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.
e
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.
getLogLevel
Link copied to clipboard
open fun getLogLevel(): Int
i
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.
println
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.
printLogBeforeInitialize
Link copied to clipboard
open fun printLogBeforeInitialize(logLevel: Int, @NonNull tag: String, @NonNull message: String)
A function that forcibly outputs logs.
removeLoggable
Link copied to clipboard
open fun removeLoggable(key: String): Loggable
setLogLevel
Link copied to clipboard
open fun setLogLevel(level: Int)
setMessagePrefix
Link copied to clipboard
open fun setMessagePrefix(key: String, prefix: String)
v
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.
w
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.
wtf
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.