pwned
Version:
A command-line tool for querying the 'Have I been pwned?' service.
19 lines • 414 B
JavaScript
/**
* Default console logging wrapper to facilitate mocking/suppressing output
* during tests.
*/
export const logger = {
error: (...args) => {
console.error(...args);
},
info: (...args) => {
console.info(...args);
},
log: (...args) => {
console.log(...args);
},
warn: (...args) => {
console.warn(...args);
},
};
//# sourceMappingURL=logger.js.map