Flogger日志记录器(Logger)

class FloggerLogger(googleLogger: GoogleLogger) : Logger

Implementation of Logger that delegates to a GoogleLogger.

构造函数(Constructors)

Link copied to clipboard
constructor(googleLogger: GoogleLogger)

属性(Properties)

Link copied to clipboard
open override val name: String

这个日志记录器实例的名称。

函数

Link copied to clipboard
open fun debug(cause: Throwable? = null, msg: () -> String)

在……位置记录一条消息。 Level.DEBUG `level`。

Link copied to clipboard
open fun error(cause: Throwable? = null, msg: () -> String)

在……位置记录一条消息。 Level.ERROR `level`。

Link copied to clipboard
open fun info(cause: Throwable? = null, msg: () -> String)

在……位置记录一条消息。 Level.INFO `level`。

Link copied to clipboard
open override fun log(level: Level, cause: Throwable? = null, msg: () -> String)

在指定位置记录一条消息。 级别;层次.

Link copied to clipboard
open fun trace(cause: Throwable? = null, msg: () -> String)

在……位置记录一条消息。 Level.TRACE `level`。

Link copied to clipboard
open fun warn(cause: Throwable? = null, msg: () -> String)

在……位置记录一条消息。 Level.WARN `level`。