Interface RunningLogger

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit addLogStatement(LogLevel logLevel, String tag, String message) Adds a log statement with a specified tag and message to the running logger.
      abstract Unit updateVitals(String key, String value) Updates the vitals that is to be included with the remote logging session.
      abstract Unit finish() Saves the log session locally.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • addLogStatement

         abstract Unit addLogStatement(LogLevel logLevel, String tag, String message)

        Adds a log statement with a specified tag and message to the running logger.

        Parameters:
        logLevel - LogLevel of the statement
        tag - The tag or identifier for categorizing the log entry.
        message - The content or message to be logged.
      • updateVitals

         abstract Unit updateVitals(String key, String value)

        Updates the vitals that is to be included with the remote logging session. Vitals are important session related meta-data that is to be included with the logging session. These are also buffered until finish is called. After that they are also saved locally.

      • finish

         abstract Unit finish()

        Saves the log session locally. This will save all the valid logs and vitals locally until they can be picked up by LogSyncExecutor for syncing. The saved logs will be marked as complete.