symfio-contrib-winston

Winston plugin for Symfio.

symfio-contrib-winston

Winston plugin for Symfio.

symfio = require "symfio"
 
container = symfio "example"__dirname
 
container.inject require "symfio-contrib-winston"
 
container.inject (logger) ->
  logger.info "Info message"

Default value depends on env.

Default value is #{name}.log.

Console Transport configuration.

File Transport configuration.

Array with transports to use. Default value depends on env.

Array with levels. Default is winston.config.npm.levels.

Array with level colors. Default is winston.config.npm.colors.

Original winston module.

Console Transport instance.

File Transport instance.

Configured logger instance.