Package org.mybatis.logging
Class Logger
- java.lang.Object
-
- org.mybatis.logging.Logger
-
public class Logger extends java.lang.Object
Wrapper ofLog
, allow log with lambda expressions.- Author:
- Putthiphong Boonphong
-
-
Method Summary
Modifier and Type Method Description void
debug(java.util.function.Supplier<java.lang.String> s)
void
error(java.util.function.Supplier<java.lang.String> s)
void
error(java.util.function.Supplier<java.lang.String> s, java.lang.Throwable e)
void
trace(java.util.function.Supplier<java.lang.String> s)
void
warn(java.util.function.Supplier<java.lang.String> s)
-
-
-
Method Detail
-
error
public void error(java.util.function.Supplier<java.lang.String> s, java.lang.Throwable e)
-
error
public void error(java.util.function.Supplier<java.lang.String> s)
-
warn
public void warn(java.util.function.Supplier<java.lang.String> s)
-
debug
public void debug(java.util.function.Supplier<java.lang.String> s)
-
trace
public void trace(java.util.function.Supplier<java.lang.String> s)
-
-