feat: charm logger #428

Merged
decentral1se merged 4 commits from central-charm-log into main 2024-07-07 22:14:24 +00:00
Owner

See coop-cloud/organising#422

  • Centralises logger into a single place, so we can refactor/replace/modify simply going forward
  • Uses https://github.com/charmbracelet/log/ which has decent coloured output & automatic caller info

I think it's worth using charmbracelet/log over the default logger for the colour. They seem to be open to other usability features such as https://github.com/charmbracelet/log/issues/118 for coop-cloud/organising#567.

image

See https://git.coopcloud.tech/coop-cloud/organising/issues/422 * Centralises logger into a single place, so we can refactor/replace/modify simply going forward * Uses https://github.com/charmbracelet/log/ which has decent coloured output & automatic caller info I think it's worth using `charmbracelet/log` over the default logger for the colour. They seem to be open to other usability features such as https://github.com/charmbracelet/log/issues/118 for https://git.coopcloud.tech/coop-cloud/organising/issues/567. ![image](/attachments/19cf97ab-585e-4822-99a5-2328d62ba42a)
decentral1se added 4 commits 2024-07-07 22:10:13 +00:00
decentral1se merged commit ef108d63e1 into main 2024-07-07 22:14:24 +00:00
decentral1se deleted branch central-charm-log 2024-07-07 22:14:24 +00:00
Sign in to join this conversation.
No description provided.