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

com.dahuatech.hutool.log.level.TraceLog Maven / Gradle / Ivy

There is a newer version: 1.0.13.7
Show newest version
package com.dahuatech.hutool.log.level;

/**
 * TRACE级别日志接口
 *
 * @author Looly
 */
public interface TraceLog {
  /** @return TRACE 等级是否开启 */
  boolean isTraceEnabled();

  /**
   * 打印 TRACE 等级的日志
   *
   * @param t 错误对象
   */
  void trace(Throwable t);

  /**
   * 打印 TRACE 等级的日志
   *
   * @param format 消息模板
   * @param arguments 参数
   */
  void trace(String format, Object... arguments);

  /**
   * 打印 TRACE 等级的日志
   *
   * @param t 错误对象
   * @param format 消息模板
   * @param arguments 参数
   */
  void trace(Throwable t, String format, Object... arguments);

  /**
   * 打印 TRACE 等级的日志
   *
   * @param fqcn 完全限定类名(Fully Qualified Class Name),用于定位日志位置
   * @param t 错误对象
   * @param format 消息模板
   * @param arguments 参数
   */
  void trace(String fqcn, Throwable t, String format, Object... arguments);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy