import Logger from 'rizzo-next/src/core/logger.js'
error(err: Error | Object | String)
Log an error
Either string or object containing error details