MeshLogRetention
Decodes MeshLogPrefs.retentionDays, which overloads two sentinels onto the day count: KEEP_FOREVER never prunes and ONE_HOUR keeps only the last hour.
Both sentinels are real user selections rather than "unset", so pruning callers must resolve the window here instead of treating the setting as a plain day count.
Functions
Link copied to clipboard
The retention window for retentionDays, or null when logs are never pruned.