UNPKG

@zenvia/sdk

Version:

This SDK for [Node.js](https://nodejs.org/) was created based on the [Zenvia](https://www.zenvia.com/) [API](https://zenvia.github.io/zenvia-openapi-spec/).

25 lines 604 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Logger = void 0; class Logger { constructor(instance) { this.instance = instance; } debug(data, ...args) { if (this.instance) { this.instance.debug(data, ...args); } } error(data, ...args) { if (this.instance) { this.instance.error(data, ...args); } } warn(data, ...args) { if (this.instance) { this.instance.warn(data, ...args); } } } exports.Logger = Logger; //# sourceMappingURL=logger.js.map