Oslog Logger Defaults

Default logging stack for Apple-platform Swift Apps — Apple's built-in `os.Logger` (no third-party), subsystem = bundle ID, category = module name, dynamic string / object interpolation defaults to `.private` (numeric and Boolean values default to `.public`), with explicit overrides where needed. Invoke when choosing a logging library, writing the first Logger declaration, deciding privacy interpolation, or when asked "OSLog vs SwiftLog vs CocoaLumberjack, which one".

wei18 1aef0ae 4.3 KB Updated

File contents

wei18/apple-dev-skills/tree/main/apple-dev-skills/skills/oslog-logger-defaults commit 1aef0aec57

Frequently asked questions

npx skillmds@latest add wei18/oslog-logger-defaults