(message, options = {})
| 17 | * @param {{ type: 'info' | 'error' | 'warn' | 'success' | 'object' }} options |
| 18 | */ |
| 19 | const log = (message, options = {}) => { |
| 20 | const formatter = formatterMap[options.type || "info"]; |
| 21 | console.log(formatter.format(message)); |
| 22 | }; |
| 23 | |
| 24 | export { log }; |
no test coverage detected