Class StdoutLogFilter

  • All Implemented Interfaces:
    java.util.logging.Filter

    public class StdoutLogFilter
    extends java.lang.Object
    implements java.util.logging.Filter
    A log filter that that logs the data in a formatted way to stdout.
    • Constructor Summary

      Constructors 
      Constructor Description
      StdoutLogFilter()
      Create a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isLoggable​(java.util.logging.LogRecord logRecord)
      Implements the filter and logs the data to stdout.
      • Methods inherited from class java.lang.Object

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

      • StdoutLogFilter

        public StdoutLogFilter()
        Create a new instance.
    • Method Detail

      • isLoggable

        public boolean isLoggable​(java.util.logging.LogRecord logRecord)
        Implements the filter and logs the data to stdout.
        Specified by:
        isLoggable in interface java.util.logging.Filter
        Parameters:
        logRecord - the received log record
        Returns:
        always false