( type: string, message: string, contexts: string[] = [], )
| 32 | * @param contexts - Optional array of context strings appended to the log entry. |
| 33 | */ |
| 34 | export function logWarn( |
| 35 | type: string, |
| 36 | message: string, |
| 37 | contexts: string[] = [], |
| 38 | ) { |
| 39 | logMessage(log.warn, type, message, undefined, contexts); |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Logs an error message via electron-log. |
no test coverage detected