MCPcopy Index your code
hub / github.com/micro-editor/micro / WriteLog

Function WriteLog

internal/buffer/buffer.go:1466–1468  ·  view source on GitHub ↗

WriteLog writes a string to the log buffer

(s string)

Source from the content-addressed store, hash-verified

1464
1465// WriteLog writes a string to the log buffer
1466func WriteLog(s string) {
1467 LogBuf.EventHandler.Insert(LogBuf.End(), s)
1468}
1469
1470// GetLogBuf returns the log buffer
1471func GetLogBuf() *Buffer {

Callers 1

WriteLogFunction · 0.92

Calls 2

InsertMethod · 0.45
EndMethod · 0.45

Tested by

no test coverage detected