( type: string, message: string, notification?: GitifyNotification, )
| 29 | * @param notification - Optional notification to include as context in the log entry. |
| 30 | */ |
| 31 | export function rendererLogWarn( |
| 32 | type: string, |
| 33 | message: string, |
| 34 | notification?: GitifyNotification, |
| 35 | ) { |
| 36 | logWarn(type, message, buildContexts(notification)); |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * Logs an error from the renderer process. |
no test coverage detected