All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cool.scx.logging.ScxLogRecord Maven / Gradle / Ivy

There is a newer version: 2.7.4
Show newest version
package cool.scx.logging;

import java.lang.System.Logger.Level;
import java.time.LocalDateTime;

/**
 * ScxLog 记录事件
 *
 * @param timeStamp    时间戳(日志触发的时间)
 * @param level        日志级别
 * @param loggerName   日志名称
 * @param message      消息
 * @param threadName   线程名称
 * @param throwable    错误信息 (可能为 null)
 * @param contextStack 上下文堆栈跟踪信息 (可能为 null)
 */
public record ScxLogRecord(LocalDateTime timeStamp,
                           Level level,
                           String loggerName,
                           String message,
                           String threadName,
                           Throwable throwable,
                           StackTraceElement[] contextStack) {

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy