Package csw.logging.client.appenders
Class FileAppenderHelper
- java.lang.Object
-
- csw.logging.client.appenders.FileAppenderHelper
-
public class FileAppenderHelper extends java.lang.Object
Responsible for writing log messages to a file on local diskparam: 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()
-
-
-
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()
-
-