CapitalLevelEncoder serializes a Level to an all-caps string. For example, InfoLevel is serialized to "INFO".
(l Level, enc PrimitiveArrayEncoder)
| 61 | // CapitalLevelEncoder serializes a Level to an all-caps string. For example, |
| 62 | // InfoLevel is serialized to "INFO". |
| 63 | func CapitalLevelEncoder(l Level, enc PrimitiveArrayEncoder) { |
| 64 | enc.AppendString(l.CapitalString()) |
| 65 | } |
| 66 | |
| 67 | // CapitalColorLevelEncoder serializes a Level to an all-caps string and adds color. |
| 68 | // For example, InfoLevel is serialized to "INFO" and colored blue. |
nothing calls this directly
no test coverage detected