Class Log.SilentAdapter

  • All Implemented Interfaces:
    Log.Adapter
    Enclosing class:
    Log

    public static class Log.SilentAdapter
    extends java.lang.Object
    implements Log.Adapter
    This adapter logs nothing.
    • Constructor Summary

      Constructors 
      Constructor Description
      SilentAdapter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void error​(java.util.function.Supplier<java.lang.Throwable> throwableSupplier, java.util.function.Supplier<java.lang.String> messageSupplier)
      Both can supply a null.
      void info​(java.util.function.Supplier<java.lang.String> messageSupplier)  
      void trace​(java.util.function.Supplier<java.lang.String> messageSupplier)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SilentAdapter

        public SilentAdapter()
    • Method Detail

      • info

        public void info​(java.util.function.Supplier<java.lang.String> messageSupplier)
        Specified by:
        info in interface Log.Adapter
      • trace

        public void trace​(java.util.function.Supplier<java.lang.String> messageSupplier)
        Specified by:
        trace in interface Log.Adapter
      • error

        public void error​(java.util.function.Supplier<java.lang.Throwable> throwableSupplier,
                          java.util.function.Supplier<java.lang.String> messageSupplier)
        Description copied from interface: Log.Adapter
        Both can supply a null.
        Specified by:
        error in interface Log.Adapter