def Level.name

bend-kit-notch@0.4.0.0 · notch.bend:42

import bend-kit-notch@0.4.0.0/notch.bend as Notch
import Base

42def Level.name(l: Level) -> String:
43  match l:
44    case Debug{}:
45      "DEBUG"
46    case Info{}:
47      "INFO"
48    case Warn{}:
49      "WARN"
50    case Error{}:
51      "ERROR"

Uses (2)

Used by (1)