Skill / SKILL.md

Oslog Logger Defaults

wei18/apple-dev-skills

Set up logging for an Apple-platform Swift app with `os.Logger` and decide its `subsystem` / `category` naming and `privacy:` interpolation. Use when choosing a logging library (`os.Logger` vs swift-log `import Logging` vs CocoaLumberjack); when writing the first `Logger(subsystem:category:)`; when deciding `.private` vs `.public` for a value; when asked what `.private` hides in Console.app, sysdiagnose, or `OSLogStore`. Does NOT cover `os_signpost` / Instruments profiling (ios-performance-engineering) or fanning logs out to trackers (telemetry-facade-pattern).
2 views 18 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Set up logging for an Apple-platform Swift app with `os.Logger` and decide its `subsystem` / `category` naming and `privacy:` interpolation. Use when choosing a logging library (`os.Logger` vs swift-log `import Logging` vs CocoaLumberjack); when writing the first `Logger(subsystem:category:)`; when deciding `.private` vs `.public` for a value; when asked what `.private` hides in Console.app, sysdiagnose, or `OSLogStore`. Does NOT cover `os_signpost` / Instruments profiling (ios-performance-engineering) or fanning logs out to trackers (telemetry-facade-pattern).

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/wei18/apple-dev-skills' skill-source

Use the complete skill-source/apple-dev-skills/skills/oslog-logger-defaults directory with your client’s skill installer.

  • apple-dev-skills/skills/oslog-logger-defaults

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory apple-dev-skills/skills/oslog-logger-defaults

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
85da0d6ba0f145d415f042bb0a9e3fc8ce5ec4997e24e1410c741ed63340f029
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills