Package com.inmobi.logging.insights
Interface RunningLogger
-
- All Implemented Interfaces:
public interface RunningLogger
-
-
Method Summary
Modifier and Type Method Description abstract UnitaddLogStatement(LogLevel logLevel, String tag, String message)Adds a log statement with a specified tag and message to the running logger. abstract UnitupdateVitals(String key, String value)Updates the vitals that is to be included with the remote logging session. abstract Unitfinish()Saves the log session locally. -
-
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 statementtag- 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.
-
-
-
-