import { applyPad } from './pad' ; export const log = { message : ( message , padStart ? ) => console . log ( applyPad ( message , padStart ) ) , tip : ( message , padStart = 3 ) => console . log ( applyPad ( `🚀 Tip: ${ message }` , padStart ) ) , starting : ( message , padStart ? ) => console . log ( applyPad ( `🤞 Starting ${ message }...` , padStart ) ) , error : ( message , padStart = 3 ) => { throw new Error ( applyPad ( `\n🚨 Error: ${ message }\n` , padStart ) ) ; } , writing : ( message , padStart ? ) => console . log ( applyPad ( `🤖  Writing ${ message }` , padStart ) ) , done : ( ) => console . log ( applyPad ( '✨ Done!' , 3 ) ) , allDone : ( ) => console . log ( applyPad ( '🎉 All done here!' ) ) , } ;