MCPcopy
hub / github.com/coder/code-server / write

Function write

test/utils/wtfnode.ts:6–10  ·  view source on GitHub ↗
(...args: [any, ...any])

Source from the content-addressed store, hash-verified

4// Jest seems to hijack console.log in a way that makes the output difficult to
5// read. So we'll write directly to process.stderr instead.
6const write = (...args: [any, ...any]) => {
7 if (args.length > 0) {
8 process.stderr.write(util.format(...args) + "\n")
9 }
10}
11wtfnode.setLogger("info", write)
12wtfnode.setLogger("warn", write)
13wtfnode.setLogger("error", write)

Callers

nothing calls this directly

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected