Package com.inmobi.logging
Object LoggingUtils.Companion
-
- All Implemented Interfaces:
public class LoggingUtils.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static LoggingUtils.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitrunAsync(SuspendFunction0<Unit> runnable)final <Error class: unknown class>queue(Function0<Unit> run)final UnitrunInSingleThread(String tag, Runnable runnable)final UnitscheduleAsync(Long delay, SuspendFunction0<Unit> runnable)final StringgetFileName(Context context, Long timestamp)final StringgetLogsFolderPath(Context context)final UnitscheduleCleanup(LogDataDao dao, Long expiryThresholdTime, Integer maxEntries)final UnitsetCleanupScheduled(Boolean scheduled)-
-
Method Detail
-
runAsync
final Unit runAsync(SuspendFunction0<Unit> runnable)
-
queue
@WorkerThread() final <Error class: unknown class> queue(Function0<Unit> run)
-
runInSingleThread
final Unit runInSingleThread(String tag, Runnable runnable)
-
scheduleAsync
final Unit scheduleAsync(Long delay, SuspendFunction0<Unit> runnable)
-
getFileName
final String getFileName(Context context, Long timestamp)
-
getLogsFolderPath
final String getLogsFolderPath(Context context)
-
scheduleCleanup
final Unit scheduleCleanup(LogDataDao dao, Long expiryThresholdTime, Integer maxEntries)
-
setCleanupScheduled
final Unit setCleanupScheduled(Boolean scheduled)
-
-
-
-