MCPcopy Index your code
hub / github.com/MiniCodeMonkey/chief / logLine

Method logLine

internal/loop/loop.go:493–497  ·  view source on GitHub ↗

logLine writes a line to the log file.

(line string)

Source from the content-addressed store, hash-verified

491
492// logLine writes a line to the log file.
493func (l *Loop) logLine(line string) {
494 if l.logFile != nil {
495 l.logFile.WriteString(line + "\n")
496 }
497}
498
499// Stop terminates the current agent process and stops the loop.
500func (l *Loop) Stop() {

Callers 3

processOutputMethod · 0.95
logStreamMethod · 0.95
TestLoop_LogFileFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestLoop_LogFileFunction · 0.76