Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 684 Bytes

config.log.md

File metadata and controls

16 lines (10 loc) · 684 Bytes

Logger configuration

The logger file configures the log level for your app, as well as the transport.

(Underneath the covers, Sails uses Winston for logging, which allows for some pretty neat custom transports/adapters for log messages)

##There are 5 different levels to the log:

  • 'error' : Display calls to .error()
  • 'warn' : Display calls from .error() to .warn()
  • 'debug' : Display calls from .error(), .warn() to .debug()
  • 'info' : Display calls from .error(), .warn(), .debug() to .info()
  • 'verbose': Display calls from .error(), .warn(), .debug(), .info() to .verbose()

By default, the level is set to info.