(message: string, ...params: any[])
| 13 | * @param message - The string message to be logged to the console. |
| 14 | */ |
| 15 | export const printIonWarning = (message: string, ...params: any[]) => { |
| 16 | const logLevel = config.get('logLevel', LogLevel.WARN); |
| 17 | if ([LogLevel.WARN].includes(logLevel)) { |
| 18 | return console.warn(`[Ionic Warning]: ${message}`, ...params); |
| 19 | } |
| 20 | }; |
| 21 | |
| 22 | /** |
| 23 | * Logs an error to the console with an Ionic prefix |
no test coverage detected