MCPcopy Create free account
hub / github.com/dipscope/TypeManager.TS / format

Method format

src/logger.ts:110–113  ·  view source on GitHub ↗

* Formats message based on component and level. * * @param {string} component Component which logs the message. * @param {string} loggerLevel Logger level. * @param {string} message Message to display. * * @returns {string} Formatted message.

(component: string, loggerLevel: string, message: string)

Source from the content-addressed store, hash-verified

108 * @returns {string} Formatted message.
109 */
110 private format(component: string, loggerLevel: string, message: string): string
111 {
112 return `[${component}][${loggerLevel}]: ${message}`;
113 }
114
115 /**
116 * Displays debug message.

Callers 4

debugMethod · 0.95
infoMethod · 0.95
warnMethod · 0.95
errorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected