Nightwatch supports multiple logging methods.
stack
driver, you can simply add Nightwatch to the list of channels in your .env
file:
.env
file:
.env
file:
NIGHTWATCH_LOG_LEVEL
environment variableLOG_LEVEL
environment variabledebug
level and higher sent to the nightwatch
log channelwarning
level and higher, while Nightwatch would log error
level and higher.
Log level | Description |
---|---|
debug | Detailed debug information |
info | Interesting events |
notice | Uncommon events |
warning | Exceptional occurrences that are not errors |
error | Runtime errors |
critical | Critical conditions |
alert | Action must be taken immediately |
emergency | Urgent alert |