UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

12 lines (10 loc) 260 B
function debug(logLevel, ...messages) { if (logLevel === 'debug') console.log(...messages); } function warn(logLevel, warning) { if (logLevel === 'debug' || logLevel === 'warn') { console.warn(warning); } } export { debug, warn };