apollo/services/logging.js

4 lines
130 B
JavaScript

const pino = require("pino");
const logger = pino(pino.destination({ dest: 'logs/.log', sync: false }));
module.exports = logger;