agile-ts / agile

🌌 Global State and Logic Library for JavaScript/Typescript applications

Home Page:https://agile-ts.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Outsource Log Messages

bennoinbeta opened this issue Β· comments

commented

πŸ†• Feature Request

❓ Is your feature request related to a problem?

No

πŸ“„ Describe the solution you'd like

Outsource all log messages from the actual code.

pros:

  • better maintainability
  • better testability
  • single line which redirects to log messages instead of a up to 10lines long log message

cons:

  • larger bundle size (2kb)
  • work to outsource the log messages and update tests

πŸ“ƒ Describe alternatives you've considered

Don't outsource all log messages from the actual code.