Skip to content

Commit

Permalink
Merge 3edfb19 into ab8f78d
Browse files Browse the repository at this point in the history
  • Loading branch information
helio-frota committed Aug 4, 2022
2 parents ab8f78d + 3edfb19 commit 1b07da6
Show file tree
Hide file tree
Showing 4 changed files with 2,345 additions and 1,722 deletions.
8 changes: 7 additions & 1 deletion bin/www
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@
* Module dependencies.
*/
const pinoDebug = require('pino-debug');
const logger = require('pino')({ level: process.env.LEVEL || 'debug', prettyPrint: { singleLine: true } }, process.stderr);
const pino = require('pino');
const logger = pino({
transport: {
target: 'pino-pretty'
}
});

pinoDebug(logger);

const app = require('../app');
Expand Down
Loading

0 comments on commit 1b07da6

Please sign in to comment.