Class NoneLogFactory

  • All Implemented Interfaces:
    LogFactory

    public class NoneLogFactory
    extends java.lang.Object
    implements LogFactory
    A log factory implementation that does not do any logging, as quickly as possible.
    Author:
    Patrick Linskey
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  NoneLogFactory.NoneLog
      No-op log.
    • Constructor Summary

      Constructors 
      Constructor Description
      NoneLogFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Log getLog​(java.lang.String channel)
      Return a log for the given channel name.
      • Methods inherited from class java.lang.Object

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

      • NoneLogFactory

        public NoneLogFactory()
    • Method Detail

      • getLog

        public final Log getLog​(java.lang.String channel)
        Description copied from interface: LogFactory
        Return a log for the given channel name.
        Specified by:
        getLog in interface LogFactory