MCPcopy Create free account
hub / github.com/devfeel/dotweb / handleCustom

Method handleCustom

logger/xlog.go:120–125  ·  view source on GitHub ↗

custom handling of the log

()

Source from the content-addressed store, hash-verified

118
119// custom handling of the log
120func (l *xLog) handleCustom() {
121 for {
122 log := <-l.logChan_Custom
123 l.writeLog(log, "custom")
124 }
125}
126
127func (l *xLog) writeLog(chanLog chanLog, level string) {
128 filePath := l.logRootPath + chanLog.LogTarget

Callers 1

NewXLogFunction · 0.95

Calls 1

writeLogMethod · 0.95

Tested by

no test coverage detected