Class Logger

java.lang.Object
org.mybatis.logging.Logger

public class Logger extends Object
Wrapper of Log, allow log with lambda expressions.
Author:
Putthiphong Boonphong
  • Method Details

    • error

      public void error(Supplier<String> s, Throwable e)
      Error.
      Parameters:
      s - the s
      e - the e
    • error

      public void error(Supplier<String> s)
      Error.
      Parameters:
      s - the s
    • warn

      public void warn(Supplier<String> s)
      Warn.
      Parameters:
      s - the s
    • debug

      public void debug(Supplier<String> s)
      Debug.
      Parameters:
      s - the s
    • trace

      public void trace(Supplier<String> s)
      Trace.
      Parameters:
      s - the s