mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-03 11:36:08 +08:00
Revert change, @evan’s fix is better
This commit is contained in:
parent
18a8e5f09a
commit
549ced6128
1 changed files with 0 additions and 10 deletions
|
@ -3,16 +3,6 @@ const {getLogStreams} = require('./log-streams')
|
|||
const NODE_ENV = process.env.NODE_ENV || 'unknown'
|
||||
|
||||
function createLogger(name, env = NODE_ENV) {
|
||||
if (process.env.USE_CONSOLE_LOG) {
|
||||
console.forAccount = () => {
|
||||
return console;
|
||||
}
|
||||
console.child = () => {
|
||||
return console;
|
||||
}
|
||||
return console;
|
||||
}
|
||||
|
||||
const childLogs = new Map()
|
||||
const logger = bunyan.createLogger({
|
||||
name,
|
||||
|
|
Loading…
Reference in a new issue