purgeLogsWithAge

abstract fun purgeLogsWithAge(outputId: String, now: Instant, age: Duration)

Deletes all the logs according the age of the log.

Parameters

outputId

The id of the com.cookpad.puree.kotlin.output.PureeBufferedOutput that owns the logs.

now

The current date-time.

age

The age of the of the logs to be deleted.