heyjaywilson/peakfit

Implement a logger instead of print statements

Aperta

#19 aperta il 24 set 2024

 (6 commenti) (0 reazioni) (1 assegnatario)Swift (10 fork)auto 404
dev exhacktoberfest

Metriche repository

Star
 (18 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Change all print statements to use Logger from OSLog.

  • Each package should have it's own log category
  • The logger's subsystem should be the product bundle identifier. If you need a default value use dev.cctplus.peakfit
  • The logger should live in the utilities package
  • The logger should be callable using PFLogger()
  • This PR should be labeled as a chore

Resources:

Guida contributor