Skip to content

History / ADR 0002

Revisions

  • ADR 0002: point the origin of the enum design to the recreated prototype ticket #84

    @bennokress bennokress committed Oct 22, 2026
  • ADR 0002: levels are the app's own enum with @LogLevels and Int priorities The struct of emoji and priority could not stop two levels sharing a priority and forced a default branch on every switch over the levels. The app now declares an enum with @LogLevels, @Emoji per case and the Int raw value as priority; targets and filters are generic over it, the filter is LogLevelPriorityFilter, and the minimum OS rises to iOS 16. Decided in #71 and #73, implemented in #72.

    @bennokress bennokress committed Oct 22, 2026
  • ADR 0002: no methods for errors and exceptions in the package

    @bennokress bennokress committed Oct 21, 2026
  • Keep category formatting in the targets and drop the NSException method from ADR 0002

    @bennokress bennokress committed Oct 21, 2026
  • Bring ADR 0002 up to date: equality by priority only, LogLevelFilter with priority names Equality of log levels follows the priority alone since #23, the filters moved to LogLevelFilter in #32, and #39 renamed them to .fromPriority(of:) and so on and added .onlyPriority(of:), because a filter accepts every level with the same priority. The consequence that two such levels are neither equal nor ordered no longer holds and is replaced by what happens now.

    @bennokress bennokress committed Oct 21, 2026
  • Add ADR 0002: the app defines its own log levels

    @bennokress bennokress committed Oct 21, 2026