export const logger = { warning : ( message , about ? ) => { const prefix = about ? `${ about }: ` : '' ; console . warn ( prefix + message ) ; } , error : ( message , about ? ) => { const prefix = about ? `${ about }: ` : '' ; console . error ( prefix + message ) ; } , } ;