UNPKG

spur-common

Version:

A Node.JS library of common modules used as a base to most Node.JS applications.

20 lines (16 loc) 358 B
module.exports = (BaseDelegate, winston)-> new class Logger extends BaseDelegate constructor:()-> @supportsMethods [ "fatal" "error" "warn" "info" "log" "debug" "verbose" ] #TODO: evaluate if this should be in common useWinston:()-> winston.cli() @use(winston)