Package-level declarations

Types

Link copied to clipboard

Default logger.

Link copied to clipboard
enum LogDivider(val char: Char) : Enum<LogDivider>

Log divider char.

Link copied to clipboard
interface LogFormat

Log formatter.

Link copied to clipboard
interface Logger

Logger.

Link copied to clipboard
data class LogInfo constructor(val threadName: String, val stackTrace: StackTraceElement?, val level: LogLevel, val tag: String, val time: Long, val content: String, val throwable: Throwable? = null)

Log information.

Link copied to clipboard
class LogInfoFactory constructor(val level: LogLevel, val tag: String, content: Any, val threadName: String, val stackTrace: StackTraceElement, val tr: Throwable? = null)

LogInfo factory.

Link copied to clipboard
sealed class LogLevel(val priority: Int) : Comparable<LogLevel>

Log level.

Link copied to clipboard
interface LogPlugin<out TConfig, TPlugin>

Log plugin

Link copied to clipboard
interface LogStore

Log store.

Link copied to clipboard
data class LogTag(val tag: String) : Tag
Link copied to clipboard
interface Tag

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun ByteArray.cutStr(maxSingleLogLength: Int): String

Cutting the byte array as a string according to maxSingleLogLength.

Link copied to clipboard

Default logger.

Link copied to clipboard
fun LogInfo.needCut(maxSingleLogLength: Int): Boolean

Return true if the content of the LogInfo does not need to be split, false otherwise.