@whitebox-co/walmart-marketplace-api
Version:
A fully typed TypeScript, Javascript, and Node.js API library for the Walmart Marketplace API
13 lines • 552 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const bunyan_1 = __importDefault(require("bunyan"));
const log = bunyan_1.default.createLogger({ name: '@whitebox-co/walmart-marketplace-api' });
// effectively disables bunyan for testing purposes
if (process.env.NODE_ENV === 'test') {
log.level(bunyan_1.default.FATAL + 1);
}
exports.default = log;
//# sourceMappingURL=log.js.map