Skip to content

notify-app/logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notify Logger

Logger makes it easy for a developer to emit logs IPC-Emitter notifications to the main app module.

Note that the Logger utility can only be used in forked processes (i.e. the process.send() method needs to be present).

Example:

const {worker} = require('ipc-emitter')
const logger = new Logger(worker, 'ws')

logger.info('test') // => worker.emit('logs:info', 'ws', 'test')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published