1.0.1 • Published 2 years ago

log-util-win-otel-final v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

This package include winston to show log in three way: 1-console 2-in "log.info" file 3-with http network to connect with ELK service

the winston config get some attribute from enviroment: .defaultMeta: from process.env.APP_NAME: to show Which service is used. .host: to show the server address to connect for ELK with process.env.TRANSPORT_LOG_ADDRESS .port: to show the server port to connect for ELK with process.env.TRANSPORT_LOG_PORT