-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(decorate)!: Use console to log instead of Arcjet logger (#865)
This switches our `@arcjet/decorate` package to use `console.log` after formatting a string with our new sprintf package. Since I'm removing the singleton logger in #858 and this is a standalone package, it doesn't make sense to require users to inject a logger into this package. I believe libraries like Pino have a way to intercept `console.log` so this should be fine for most usage.
- Loading branch information
1 parent
edd99a1
commit 39bfcfc
Showing
3 changed files
with
80 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.