Log Package
How to use
-
Run
npm i @tomei/log
-
Set
AZURE_STORAGE_CONNECTION_STRING
as environment variable -
Create
component-config
in your root folder and add the following:mailer-config.json
{ "componentName": "@tomei/mailer", "host": "mailerHost", "port": "1234", "secure": true, "user": "senderEmail", "pass": "senderPassword" }
log-config.json
{ "componentName": "@tomei/log", "env": "production" }
notes: use env: "production" only if the apps in production