Commit c19b2b4c authored by manhvu's avatar manhvu 😅
Browse files

fix!: remove console.log

console log was removed
parent ef94fcfc
const express = require('express')
const createLogger = require('@lerna-ex2/logger');
const app = express();
const logger = createLogger();
app.get('/', (req, res) => {
res.send('Hello lerna-ex2');
......@@ -8,5 +10,5 @@ app.get('/', (req, res) => {
const port = 3030;
app.listen(port, () => {
console.log(`app is ready on ${port}`);
logger.log(`app is ready on ${port}`);
})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment