Class Logger


  • public class Logger
    extends java.util.logging.Logger
    Logger class to use throughout the Contract Implementation.
    • Field Summary

      • Fields inherited from class java.util.logging.Logger

        global, GLOBAL_LOGGER_NAME
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Logger​(java.lang.String name)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void debug​(java.lang.String msg)  
      void debug​(java.util.function.Supplier<java.lang.String> msgSupplier)  
      void error​(java.lang.String message)  
      void error​(java.util.function.Supplier<java.lang.String> msgSupplier)  
      java.lang.String formatError​(java.lang.Throwable throwable)  
      static Logger getLogger​(java.lang.Class<?> class1)  
      static Logger getLogger​(java.lang.String name)  
      • Methods inherited from class java.util.logging.Logger

        addHandler, config, config, entering, entering, entering, exiting, exiting, fine, fine, finer, finer, finest, finest, getAnonymousLogger, getAnonymousLogger, getFilter, getGlobal, getHandlers, getLevel, getLogger, getName, getParent, getResourceBundle, getResourceBundleName, getUseParentHandlers, info, info, isLoggable, log, log, log, log, log, log, log, logp, logp, logp, logp, logp, logp, logrb, logrb, logrb, logrb, logrb, logrb, logrb, logrb, removeHandler, setFilter, setLevel, setParent, setResourceBundle, setUseParentHandlers, severe, severe, throwing, warning, warning
      • Methods inherited from class java.lang.Object

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

      • Logger

        protected Logger​(java.lang.String name)
    • Method Detail

      • getLogger

        public static Logger getLogger​(java.lang.String name)
        Parameters:
        name -
        Returns:
        Logger
      • debug

        public void debug​(java.util.function.Supplier<java.lang.String> msgSupplier)
        Parameters:
        msgSupplier -
      • debug

        public void debug​(java.lang.String msg)
        Parameters:
        msg -
      • getLogger

        public static Logger getLogger​(java.lang.Class<?> class1)
        Parameters:
        class1 -
        Returns:
        Logger
      • error

        public void error​(java.lang.String message)
        Parameters:
        message -
      • error

        public void error​(java.util.function.Supplier<java.lang.String> msgSupplier)
        Parameters:
        msgSupplier -
      • formatError

        public java.lang.String formatError​(java.lang.Throwable throwable)
        Parameters:
        throwable -
        Returns:
        Throwable