()
| 27 | const LogBufferLength = 65535 |
| 28 | |
| 29 | func (l Level) String() string { |
| 30 | if l < 0 || uint32(l) > uint32(len(levelStrings)) { |
| 31 | return "UNKNOWN" |
| 32 | } |
| 33 | return levelStrings[int(l)] |
| 34 | } |
| 35 | |
| 36 | var log_pool *sync.Pool = &sync.Pool{New: func() interface{} { return new(LogRecord) }} |
| 37 |
no outgoing calls
no test coverage detected