Interface LogAppender

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void append​(play.api.libs.json.JsObject baseMsg, java.lang.String category)
      Appends a new log message
      scala.concurrent.Future<scala.runtime.BoxedUnit> finish()
      Called just before the logger shuts down
      scala.concurrent.Future<scala.runtime.BoxedUnit> stop()
      Stops a log appender
    • Method Detail

      • append

        void append​(play.api.libs.json.JsObject baseMsg,
                    java.lang.String category)
        Appends a new log message

        Parameters:
        baseMsg - the message to be logged
        category - the kinds of log (for example, "common")
      • finish

        scala.concurrent.Future<scala.runtime.BoxedUnit> finish()
        Called just before the logger shuts down

        Returns:
        a future that is completed when finished
      • stop

        scala.concurrent.Future<scala.runtime.BoxedUnit> stop()
        Stops a log appender

        Returns:
        a future that is completed when stopped