Active Product Page back to working again

This commit is contained in:
Belen Curcio
2020-10-19 12:02:17 -03:00
parent 06234ae6c4
commit ab51207548
5 changed files with 39 additions and 18 deletions

View File

@@ -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