slack-web-api-client
Version:
Streamlined Slack Web API client for TypeScript
12 lines • 442 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isDebugLogEnabled = isDebugLogEnabled;
exports.prettyPrint = prettyPrint;
function isDebugLogEnabled(logLevel) {
return logLevel !== undefined && logLevel !== null && logLevel.toUpperCase() === "DEBUG";
}
// deno-lint-ignore no-explicit-any
function prettyPrint(obj) {
return JSON.stringify(obj, null, 2);
}
//# sourceMappingURL=debug-logging.js.map