log.js 1.3 KB

123456789101112131415161718192021222324252627282930
  1. /**
  2. * Built-in Log Configuration
  3. * (sails.config.log)
  4. *
  5. * Configure the log level for your app, as well as the transport
  6. * (Underneath the covers, Sails uses Winston for logging, which
  7. * allows for some pretty neat custom transports/adapters for log messages)
  8. *
  9. * For more information on the Sails logger, check out:
  10. * https://sailsjs.com/docs/concepts/logging
  11. */
  12. module.exports.log = {
  13. /***************************************************************************
  14. * *
  15. * Valid `level` configs: i.e. the minimum log level to capture with *
  16. * sails.log.*() *
  17. * *
  18. * The order of precedence for log levels from lowest to highest is: *
  19. * silly, verbose, info, debug, warn, error *
  20. * *
  21. * You may also set the level to "silent" to suppress all logs. *
  22. * *
  23. ***************************************************************************/
  24. // level: 'info'
  25. };