MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / logContent

Method logContent

src/back/ManagedChildProcess.ts:218–223  ·  view source on GitHub ↗

* Add an entry in the log. * * @param content Content of the entry.

(content: string)

Source from the content-addressed store, hash-verified

216 * @param content Content of the entry.
217 */
218 private logContent(content: string): void {
219 this.emit('output', {
220 source: this.name,
221 content: removeTrailingNewlines(content),
222 });
223 }
224
225 private logContentAny = (content: Buffer | any): void => {
226 try {

Callers 3

spawnMethod · 0.95
restartMethod · 0.95
ManagedChildProcessClass · 0.95

Calls 2

emitMethod · 0.95
removeTrailingNewlinesFunction · 0.85

Tested by

no test coverage detected