1.0.1 • Published 2 years ago
grupo-cometa-orchestrator-logs v1.0.1
Orchestrator Logs
grupo-cometa-orchestrator-logs
is a library that sends RPA logs to the orchestrator.
📦 Install
npm install grupo-cometa-orchestrator-logs
🔨 How to Usage
- Create an .env file with the following variables. LOGS_FOLDER is optional default value is a storage folder within the current directory for local logs
Environment Variables
PUBLIC_ID=
LOGS_FOLDER=
AMQP_URL=
WS_URL=
To use the library, follow the example:
const { Log } = require("grupo-cometa-orchestrator-logs");
const message = 'Log message';
Log.send(message, 'INFO');
//Logs types includes INFO, WARNING, ERROR, CRITICAL