Files
cypress/packages/server/lib/log.js
Zach Bloomquist fe785749e8 server decaf cleanup
cleanup
2020-06-04 14:48:33 -04:00

14 lines
472 B
JavaScript

// lightweight logging for Node
// only shows log messages if running with
// DEBUG=cypress:start ...
// or
// DEBUG=cypress:* ...
// use
// log = require('./log')
// log('working in %s', process.cwd())
// If you need a logger that might be very specific
// you can construct it yourself, just make sure
// to prefix label with "cypress:server:", for example
// log = require('debug')('cypress:server:bundle')
module.exports = require('debug')('cypress:server')