1.24.0 • Published 6 months ago
@dracul/common-backend v1.24.0
ci common module
Common utils
Helpers
- create dir if not exist
- random number
- random string
- store file
Logger
setup a winston default logger
A kind of factory for winston default logger that use environment variables for flexible configuration
Environment variables:
#LOG LEVEL OPTIONS: error, warning, info, debug
LOG_LEVEL=debug
#Enable Log File: ON / OFF
LOG_FILE=ON
#Enable colorize console logs: ON / OFF
LOG_COLORIZE=ON
# Max log file size in bytes. Ex: 10000000 Bytes == 1 MegaByte
LOG_FILE_MAX_SIZE=10000000
# Number of max files
LOG_FILE_MAX_FILES=3
# Enable JSON format: ON / OFF
LOG_JSON=OFF
1.24.0
6 months ago
1.23.1
8 months ago
1.20.11
12 months ago
1.18.1
1 year ago
1.16.3
1 year ago
1.18.0
1 year ago
1.15.0
1 year ago
1.11.4
2 years ago
1.11.3
2 years ago
1.11.2
2 years ago
1.11.1
2 years ago
1.10.4
2 years ago
1.10.3
2 years ago
1.10.0
2 years ago
1.8.0
2 years ago
1.8.6
2 years ago
1.7.22
2 years ago
1.7.23
2 years ago
1.7.24
2 years ago
1.9.2
2 years ago
2.0.1
2 years ago
2.0.0
2 years ago
1.7.12
2 years ago
1.7.11
2 years ago
1.6.3
2 years ago
1.6.2
2 years ago
1.6.0
2 years ago
1.2.32
3 years ago
1.0.110
3 years ago
1.0.112
3 years ago
1.0.111
3 years ago
1.0.0
4 years ago