Class FileAppenderHelper


  • public class FileAppenderHelper
    extends java.lang.Object
    Responsible for writing log messages to a file on local disk

    param: path path where the log file will be created param: category category of the log messages

    • Constructor Summary

      Constructors 
      Constructor Description
      FileAppenderHelper​(java.lang.String path, java.lang.String name, java.lang.String category)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendAdd​(scala.Option<java.time.ZonedDateTime> maybeTimestamp, java.lang.String line, boolean rotateFlag)  
      void appendClose​(scala.concurrent.Promise<scala.runtime.BoxedUnit> p)  
      protected csw.logging.api.scaladsl.Logger log()  
      void postStop()  
      • Methods inherited from class java.lang.Object

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

      • FileAppenderHelper

        public FileAppenderHelper​(java.lang.String path,
                                  java.lang.String name,
                                  java.lang.String category)
    • Method Detail

      • appendAdd

        public void appendAdd​(scala.Option<java.time.ZonedDateTime> maybeTimestamp,
                              java.lang.String line,
                              boolean rotateFlag)
      • appendClose

        public void appendClose​(scala.concurrent.Promise<scala.runtime.BoxedUnit> p)
      • log

        protected csw.logging.api.scaladsl.Logger log()
      • postStop

        public void postStop()