LowercaseLevelEncoder serializes a Level to a lowercase string. For example, InfoLevel is serialized to "info".
(l Level, enc PrimitiveArrayEncoder)
| 45 | // LowercaseLevelEncoder serializes a Level to a lowercase string. For example, |
| 46 | // InfoLevel is serialized to "info". |
| 47 | func LowercaseLevelEncoder(l Level, enc PrimitiveArrayEncoder) { |
| 48 | enc.AppendString(l.String()) |
| 49 | } |
| 50 | |
| 51 | // LowercaseColorLevelEncoder serializes a Level to a lowercase string and adds coloring. |
| 52 | // For example, InfoLevel is serialized to "info" and colored blue. |
nothing calls this directly
no test coverage detected