learning_ai_common_plat/packages/swift-diagnostics
saravanakumardb1 d53f61a76f fix(swift-diagnostics): T5.2 \u2014 replace print() with os.Logger
OSDiagnosticsLogger was using print() for actual log output despite being
the 'OSLog-based logger' implementation. Per AGENTS.md and the existing
struct name, it should use os.Logger.

Changes:
  + import os
  + private let logger: Logger          (initialised in init())
  + logger.debug / info / warning / error replace print() at all 4 sites
  + uses privacy: .public to make messages visible in Console.app

scripts/check-rule-violations.sh shows 4 \u2192 0 swift-print findings in
this package. The common-plat repo now contributes 0 swift-print to
the ecosystem total.
2026-05-23 15:21:39 -07:00
..
Sources/ByteLystDiagnostics fix(swift-diagnostics): T5.2 \u2014 replace print() with os.Logger 2026-05-23 15:21:39 -07:00
Tests/ByteLystDiagnosticsTests feat(swift-diagnostics): implement Phase 2.2 Swift Client SDK 2026-03-03 09:28:11 -08:00
Package.swift feat(swift-diagnostics): implement Phase 2.2 Swift Client SDK 2026-03-03 09:28:11 -08:00