mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-06 15:20:25 -06:00
14 lines
460 B
CoffeeScript
14 lines
460 B
CoffeeScript
# 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')
|