(text: string, options?: LoggerOptions)
| 121 | } |
| 122 | |
| 123 | export function warn(text: string, options?: LoggerOptions) { |
| 124 | writeLog(text, options); |
| 125 | const currentOra = getSpinner(); |
| 126 | if (currentOra.isSpinning()) { |
| 127 | currentOra.clear(); |
| 128 | currentOra.frame(); |
| 129 | } |
| 130 | oraInstance().warn(text); |
| 131 | } |
| 132 | |
| 133 | export function info(text: string, options?: LoggerOptions) { |
| 134 | writeLog(text, options); |
nothing calls this directly
no test coverage detected