mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 00:52:55 +00:00
feat: add EXIT log level
This commit is contained in:
committed by
Rainer Killinger
parent
3fb99ad896
commit
edc6e6fad5
@@ -25,6 +25,8 @@ For example `STAPPS_LOG_LEVEL=17` is 16 + 1 and would log everything that is `OK
|
||||
If you want to use logger in production (`NODE_ENV=production`) and allow all transports to fail set
|
||||
`ALLOW_NO_TRANSPORT` to `true`.
|
||||
|
||||
Additionally setting the environment variable `STAPPS_EXIT_LEVEL` which works in the same manner as `STAPPS_LOG_LEVEL` will terminate your process after logging at the selected level(s) (usefull for integration tests). It will be ignored in afore mentioned productive environments.
|
||||
|
||||
## SMTP
|
||||
|
||||
This class also provides a simple implementation of an SMTP transport which can be used as a
|
||||
|
||||
Reference in New Issue
Block a user