mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Active Product Page back to working again
This commit is contained in:
@@ -1,5 +1,18 @@
|
||||
import bunyan from 'bunyan'
|
||||
import PrettyStream from 'bunyan-prettystream'
|
||||
|
||||
const log = bunyan.createLogger({ name: 'Next.js - Commerce' })
|
||||
const prettyStdOut = new PrettyStream()
|
||||
|
||||
const log = bunyan.createLogger({
|
||||
name: 'Next.js - Commerce',
|
||||
level: 'debug',
|
||||
streams: [
|
||||
{
|
||||
level: 'debug',
|
||||
type: 'raw',
|
||||
stream: prettyStdOut,
|
||||
},
|
||||
],
|
||||
})
|
||||
|
||||
export default log
|
||||
|
Reference in New Issue
Block a user