PersistentLoggingPlugin

LoggingCategoryPlugin that wraps anotherLoggingCategoryPlugin and saves the logs in memory

Note

@unchecked Sendable because Plugin is Sendable and the lazily-created wrapper is mutable state; lock guards it. Deliberately not final — this type is public API, and @unchecked Sendable does not require final, so marking it so would needlessly break any subclass.