BaseBuilder

LoggerConfig 构建器基类,支持泛型自引用以保证子类链式调用返回正确类型

Base builder for LoggerConfig with self-referential generic for fluent subclass chaining.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

日志显示格式,默认:LogFormat.PRETTY

Link copied to clipboard

堆栈跟踪偏移量

Functions

Link copied to clipboard
open fun build(): LoggerConfig
Link copied to clipboard
fun setLogFormat(logFormat: LogFormat): SELF

设置日志显示格式

Link copied to clipboard
fun setMethodOffset(methodOffset: Int): SELF

设置堆栈跟踪偏移量