| 28 | * but also has dedicated logging functions for respective logging levels. |
| 29 | */ |
| 30 | export interface Logging { |
| 31 | prefix: string |
| 32 | (message: string, ...parameters: any[]): void |
| 33 | info: (message: string, ...parameters: any[]) => void |
| 34 | success: (message: string, ...parameters: any[]) => void |
| 35 | warn: (message: string, ...parameters: any[]) => void |
| 36 | error: (message: string, ...parameters: any[]) => void |
| 37 | debug: (message: string, ...parameters: any[]) => void |
| 38 | log: (level: LogLevel, message: string, ...parameters: any[]) => void |
| 39 | } |
| 40 | |
| 41 | interface IntermediateLogging { // some auxiliary interface used to correctly type stuff happening in "withPrefix" |
| 42 | prefix?: string |
nothing calls this directly
no outgoing calls
no test coverage detected