Back to Provenance

3261

.changelog/3261.md

3.3.11.2 KB
Original Source

Fixed

  • PVLogging double OSLog emissionDLOG/ILOG/etc. previously emitted two OSLog entries; now only one per call.
  • DLOG log level bugDLOG was publishing at .verbose severity instead of .debug in PVLogPublisher.
  • WLOG double-emojiWLOG prepended ⚠️ before passing to log() which also adds an emoji.

Changed

  • PVLogging OSLog subsystem — replaced Bundle.main.bundleIdentifier with static "com.provenance-emu.provenance", correct in unit tests and extension targets.
  • PVLogging uses #fileID — replaces #file (full path) with Module/Filename.swift format to avoid leaking build-machine paths into logs.

Added

  • PVLogging new categories.emulator, .ui, .controller, .saveState, .library for finer-grained Console.app filtering.
  • PVLogPublisher AsyncStreammakeLogStream() -> AsyncStream<LogEntry> for Swift 6 structured-concurrency log consumers.
  • Per-category log level filteringPVLogPublisher.setMinLevel(_:forCategory:) suppresses noisy categories at runtime.
  • os_signpost helpers — new PVSignpost.swift with withSignpost(), signpostBegin/End(), and signpostEvent() for Instruments frame/audio profiling.