类 JavaLoggingAdapter

java.lang.Object
com.alibaba.csp.sentinel.log.jul.BaseJulLogger
com.alibaba.csp.sentinel.log.jul.JavaLoggingAdapter
所有已实现的接口:
Logger

public class JavaLoggingAdapter extends BaseJulLogger implements Logger
JUL adapter for Sentinel Logger SPI.
从以下版本开始:
1.7.2
作者:
Eric Zhao
  • 构造器详细资料

    • JavaLoggingAdapter

      public JavaLoggingAdapter(String loggerName, String fileNamePattern)
  • 方法详细资料

    • info

      public void info(String format, Object... arguments)
      从接口复制的说明: Logger
      Log a message at the INFO level according to the specified format and arguments.
      指定者:
      info 在接口中 Logger
      参数:
      format - the format string
      arguments - a list of arguments
    • info

      public void info(String msg, Throwable e)
      从接口复制的说明: Logger
      Log an exception (throwable) at the INFO level with an accompanying message.
      指定者:
      info 在接口中 Logger
      参数:
      msg - the message accompanying the exception
      e - the exception (throwable) to log
    • warn

      public void warn(String format, Object... arguments)
      从接口复制的说明: Logger
      Log a message at the WARN level according to the specified format and arguments.
      指定者:
      warn 在接口中 Logger
      参数:
      format - the format string
      arguments - a list of arguments
    • warn

      public void warn(String msg, Throwable e)
      从接口复制的说明: Logger
      Log an exception (throwable) at the WARN level with an accompanying message.
      指定者:
      warn 在接口中 Logger
      参数:
      msg - the message accompanying the exception
      e - the exception (throwable) to log
    • trace

      public void trace(String format, Object... arguments)
      从接口复制的说明: Logger
      Log a message at the TRACE level according to the specified format and arguments.
      指定者:
      trace 在接口中 Logger
      参数:
      format - the format string
      arguments - a list of arguments
    • trace

      public void trace(String msg, Throwable e)
      从接口复制的说明: Logger
      Log an exception (throwable) at the TRACE level with an accompanying message.
      指定者:
      trace 在接口中 Logger
      参数:
      msg - the message accompanying the exception
      e - the exception (throwable) to log
    • debug

      public void debug(String format, Object... arguments)
      从接口复制的说明: Logger
      Log a message at the DEBUG level according to the specified format and arguments.
      指定者:
      debug 在接口中 Logger
      参数:
      format - the format string
      arguments - a list of arguments
    • debug

      public void debug(String msg, Throwable e)
      从接口复制的说明: Logger
      Log an exception (throwable) at the DEBUG level with an accompanying message.
      指定者:
      debug 在接口中 Logger
      参数:
      msg - the message accompanying the exception
      e - the exception (throwable) to log
    • error

      public void error(String format, Object... arguments)
      从接口复制的说明: Logger
      Log a message at the ERROR level according to the specified format and arguments.
      指定者:
      error 在接口中 Logger
      参数:
      format - the format string
      arguments - a list of arguments
    • error

      public void error(String msg, Throwable e)
      从接口复制的说明: Logger
      Log an exception (throwable) at the ERROR level with an accompanying message.
      指定者:
      error 在接口中 Logger
      参数:
      msg - the message accompanying the exception
      e - the exception (throwable) to log
    • getLoggerName

      public String getLoggerName()
    • getFileNamePattern

      public String getFileNamePattern()