Class PrintWriterLoggerInterceptor

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String formatLine​(java.util.Date now, Level loggingLevel, java.lang.String method, java.lang.Object[] args)  
      static java.lang.String formatMessage​(Level loggingLevel, java.lang.String method, java.lang.Object[] args)  
      void log​(Level loggingLevel, java.lang.String method, java.lang.Object[] args)  
      • Methods inherited from class java.lang.Object

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

      • PrintWriterLoggerInterceptor

        public PrintWriterLoggerInterceptor​(java.io.PrintWriter out)
    • Method Detail

      • log

        public void log​(Level loggingLevel,
                        java.lang.String method,
                        java.lang.Object[] args)
        Specified by:
        log in interface LoggingInterceptor
      • formatLine

        public static java.lang.String formatLine​(java.util.Date now,
                                                  Level loggingLevel,
                                                  java.lang.String method,
                                                  java.lang.Object[] args)
      • formatMessage

        public static java.lang.String formatMessage​(Level loggingLevel,
                                                     java.lang.String method,
                                                     java.lang.Object[] args)