Class NoLogFactory

  • All Implemented Interfaces:
    com.hazelcast.logging.impl.InternalLoggerFactory, LoggerFactory

    public class NoLogFactory
    extends java.lang.Object
    implements LoggerFactory, com.hazelcast.logging.impl.InternalLoggerFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      NoLogFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ILogger getLogger​(java.lang.String name)  
      void resetLevel()
      Resets the levels of all the loggers known to this logger factory back to the default preconfigured values.
      void setLevel​(java.util.logging.Level level)
      Sets the levels of all the loggers known to this logger factory to the given level.
      • Methods inherited from class java.lang.Object

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

      • NoLogFactory

        public NoLogFactory()
    • Method Detail

      • setLevel

        public void setLevel​(@Nonnull
                             java.util.logging.Level level)
        Description copied from interface: com.hazelcast.logging.impl.InternalLoggerFactory
        Sets the levels of all the loggers known to this logger factory to the given level. If a certain logger was already preconfigured with a more verbose level than the given level, it will be kept at that more verbose level.
        Specified by:
        setLevel in interface com.hazelcast.logging.impl.InternalLoggerFactory
        Parameters:
        level - the level to set.
      • resetLevel

        public void resetLevel()
        Description copied from interface: com.hazelcast.logging.impl.InternalLoggerFactory
        Resets the levels of all the loggers known to this logger factory back to the default preconfigured values. Basically, undoes all the changes done by the previous calls to InternalLoggerFactory.setLevel(java.util.logging.Level), if there were any.
        Specified by:
        resetLevel in interface com.hazelcast.logging.impl.InternalLoggerFactory