MCPcopy
hub / github.com/homebridge/homebridge / Logging

Interface Logging

src/logger.ts:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 * but also has dedicated logging functions for respective logging levels.
29 */
30export 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
41interface IntermediateLogging { // some auxiliary interface used to correctly type stuff happening in "withPrefix"
42 prefix?: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected