import signale , { Signale } from 'signale' ; export const initTimeLog = ( option = { } ) => new Signale ( { interactive : true , scope : 'time-log' , ... option } ) ; export const startTime = ( signaleInstance , prefix = '' ) => { signaleInstance . time ( prefix ) ; } ; export const endTime = ( signaleInstance , prefix = '' ) => { signaleInstance . timeEnd ( prefix ) ; } ;