MarkRS
08/06/2025, 3:20 PMkpgalligan
08/07/2025, 5:47 PMMarkRS
08/08/2025, 7:58 AMkpgalligan
08/08/2025, 2:08 PMLogWriter
instances. For example, in dev you'd probably just want the default ones, which are designed for development. In release, you'd explicitly set the LogWriter
instances which might be something like Crashlytics, or zero LogWriter
instances, which would prevent all logging. You can also specify a global minimum logging severity, so maybe you only log errors.
In summary, though, you config logging at startup. You globally set what loggers you want, based on whether you're in release or not. Determining if you're in release mode is a different topic, with multiple approaches, but that's not specifically a "Kermit" thing. Usually I have the host app pass in a boolean for that, and the check for release is platform-specific.MarkRS
08/08/2025, 2:19 PM