def render
import bend-kit-notch@0.4.0.0/notch.bend as Notchimport Base
217# One line, without its newline, whatever the level. t is the time text; None leaves it out.
218def render(lg: Logger, t: Maybe<&2, String>, lvl: Level, msg: String,
219 fs: List<&2, Field>) -> String:
220 match lg:
221 case Logger{m, f, c}:
222 render.as(f, t, lvl, msg, List.append(&2, Field, c, fs))