Class RunningLoggerImpl

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit addLogStatement(LogLevel logLevel, String tag, String message) Adds a log statement with a specified tag and message to the running logger.
      Unit updateVitals(String key, String value) Updates the vitals that is to be included with the remote logging session.
      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

      • RunningLoggerImpl

        RunningLoggerImpl(RemoteLogger remoteLogger)
    • Method Detail

      • addLogStatement

         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

         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

         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.