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