1 2 3 4 5 6 7
const log = { debug: (...obj) => console.info(...obj), info: (...obj) => console.info(...obj), error: (...obj) => console.error(obj) }; export default log;