Class Logger


  • public class Logger
    extends java.lang.Object
    Wrapper of Log, 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)