mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 14:49:07 +00:00
f9c9480434
This code change updates the logger class to use the configured log level from the environment configuration. The getLogLevel method is added to retrieve the log level, and the info, error, warn, and debug methods are updated to check the log level before logging the message. This change ensures that the logger behaves according to the configured log level, improving the consistency and control of log output.
56 lines
609 B
Plaintext
56 lines
609 B
Plaintext
.git
|
|
|
|
node_modules
|
|
# See https://help.github.com/ignore-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
/node_modules
|
|
node_modules
|
|
|
|
.idea
|
|
# testing
|
|
/coverage
|
|
|
|
# production
|
|
/build
|
|
|
|
# misc
|
|
.DS_Store
|
|
|
|
env.js
|
|
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
yarn.lock
|
|
Untitled-1
|
|
*.local.sh
|
|
*.local.yaml
|
|
run
|
|
stop
|
|
|
|
nohup.out*
|
|
|
|
encrypted-credentials.tar
|
|
encrypted-credentials/
|
|
|
|
_README.md
|
|
|
|
# Important Add production values to gitignore.
|
|
values-saas-production.yaml
|
|
kubernetes/values-saas-production.yaml
|
|
|
|
/private
|
|
|
|
/tls_cert.pem
|
|
/tls_key.pem
|
|
/keys
|
|
|
|
temp_readme.md
|
|
|
|
tests/coverage
|
|
|
|
settings.json
|
|
|
|
GoSDK/tester/ |