%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules/proc-log/lib/
Upload File :
Create Path :
Current File : //opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules/proc-log/lib/index.js

// emits 'log' events on the process
const LEVELS = [
  'notice',
  'error',
  'warn',
  'info',
  'verbose',
  'http',
  'silly',
  'pause',
  'resume',
]

const log = level => (...args) => process.emit('log', level, ...args)

const logger = {}
for (const level of LEVELS) {
  logger[level] = log(level)
}

logger.LEVELS = LEVELS

module.exports = logger

Zerion Mini Shell 1.0