Class FilesAppender


  • public class FilesAppender
    extends java.lang.Object
    Responsible for creating an FileAppenderHelper which manages the file resource

    param: path log file path param: category log category

    • Constructor Summary

      Constructors 
      Constructor Description
      FilesAppender​(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 add​(scala.Option<java.time.ZonedDateTime> maybeTimestamp, java.lang.String line, boolean rotateFlag)  
      scala.concurrent.Future<scala.runtime.BoxedUnit> close()  
      • Methods inherited from class java.lang.Object

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

      • FilesAppender

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

      • add

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

        public scala.concurrent.Future<scala.runtime.BoxedUnit> close()