deleteOlderThanKeepMin property
bool
get
deleteOlderThanKeepMin
Gets the flag that indicates whether to delete older logs exceeding the keepMinSeconds threshold.
If true
, older logs will be deleted even if there is sufficient disk space.
The default value is false
.
Implementation
bool get deleteOlderThanKeepMin {
final OperationResult resultString = objectMethod(
pointerId,
'RecorderConfiguration',
'getDeleteOlderThanKeepMin',
);
return resultString['result'];
}
set
deleteOlderThanKeepMin
(bool deleteOlderThanKeepMin)
Sets the flag that indicates whether to delete older logs exceeding the keepMinSeconds threshold.
If true
, older logs will be deleted even if there is sufficient disk space.
The default value is false
.
Implementation
set deleteOlderThanKeepMin(final bool deleteOlderThanKeepMin) {
objectMethod(
pointerId,
'RecorderConfiguration',
'setDeleteOlderThanKeepMin',
args: deleteOlderThanKeepMin,
);
}