( message: string, type: LogLevel = "warn", data: LogDataOrUndefined = undefined, )
| 194 | * Log an info statement with a gray bullet at the start of the line. |
| 195 | */ |
| 196 | export function logWarning( |
| 197 | message: string, |
| 198 | type: LogLevel = "warn", |
| 199 | data: LogDataOrUndefined = undefined, |
| 200 | ): void { |
| 201 | logger[type](clc.yellow(clc.bold(`${WARNING_CHAR} `)), message, data); |
| 202 | } |
| 203 | |
| 204 | /** |
| 205 | * Log a warning statement to stderr, regardless of logger configuration. |
no outgoing calls
no test coverage detected
searching dependent graphs…