MCPcopy
hub / github.com/zgsm-ai/costrict / raw

Method raw

packages/evals/src/cli/utils.ts:119–129  ·  view source on GitHub ↗

* Write raw output without any prefix (timestamp, level, tag). * Useful for streaming CLI output where the prefix would be noise.

(message: string)

Source from the content-addressed store, hash-verified

117 * Useful for streaming CLI output where the prefix would be noise.
118 */
119 public raw(message: string): void {
120 try {
121 console.log(message)
122
123 if (this.logStream) {
124 this.logStream.write(message + "\n")
125 }
126 } catch (error) {
127 console.error(`Failed to write to log file ${this.logFilePath}:`, error)
128 }
129 }
130
131 public close(): void {
132 if (this.logStream) {

Callers 15

resetTestDatabaseFunction · 0.80
runTaskWithCliFunction · 0.80
elixir.tsFile · 0.80
css.tsFile · 0.80
lua.tsFile · 0.80
sample-cpp.tsFile · 0.80
sample-php.tsFile · 0.80
sample-rust.tsFile · 0.80
sample-json.tsFile · 0.80
sample-go.tsFile · 0.80
sample-tlaplus.tsFile · 0.80

Calls 3

logMethod · 0.65
writeMethod · 0.65
errorMethod · 0.65

Tested by

no test coverage detected