Skip to content

Commit

Permalink
added logging in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
TateB committed Aug 12, 2021
1 parent b821069 commit 7ef5688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/other/global.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const log = (...msgs) => {
if (process.env.NODE_ENV === "development") console.log(...msgs)
if (true) console.log(...msgs) // process.env.NODE_ENV === "development"
}

global.log = log

0 comments on commit 7ef5688

Please sign in to comment.