MCPcopy Create free account
hub / github.com/Cyinx/einx / Run

Method Run

slog/slog_write.go:104–113  ·  view source on GitHub ↗
(b bool)

Source from the content-addressed store, hash-verified

102}
103
104func (this *LogWriter) Run(b bool) {
105 defer this.Recover()
106 this.end_wait.Add(1)
107 defer this.end_wait.Done()
108 if b == true {
109 this.init_path = <-this.init
110 }
111 this.MakeLogTimePath()
112 this.doRun()
113}
114
115func (this *LogWriter) doRun() {
116 var logRecord *LogRecord

Callers 1

RecoverMethod · 0.95

Calls 3

RecoverMethod · 0.95
MakeLogTimePathMethod · 0.95
doRunMethod · 0.95

Tested by

no test coverage detected