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