crystal icon indicating copy to clipboard operation
crystal copied to clipboard

Use `@graphile/logger` for logging

Open benjie opened this issue 1 year ago • 1 comments

Users should be able to use their own logging framework - we shouldn't be outputting to console. We already have the @graphile/logger abstraction, we should use this.

Needs integration from the preset all the way through every package.

Needs to be done before V5 goes out, I think, or at least we need to know how it will be done (to ensure e.g. graphile-config has support). We could make it a built-in feature of graphile-config TBH, everything that needs it will need logging of some kind.

benjie avatar Aug 16 '24 07:08 benjie

This issue also pairs well with the idea of a diagnostics system

jemgillam avatar Oct 03 '24 10:10 jemgillam