MCPcopy Create free account
hub / github.com/JunJD/alading / formatMultilineString

Method formatMultilineString

src/utils/debugLogger.ts:37–42  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

35 }
36
37 private formatMultilineString(str: string): string {
38 return str.split('\n')
39 .map(line => line.trim())
40 .filter(line => line)
41 .join('\n ');
42 }
43
44 private formatLogContent(data: any): string {
45 if (typeof data === 'string') {

Callers 2

formatLogContentMethod · 0.95
formatValueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected