LogLevel
Five values, where
PluginLogLevelnext door has four. The plugin enum is the narrower one on purpose — that is the vocabulary a plugin's ownPluginLoggeroffers — whileapi.logis written byDeadairLogger, which tees every level the app-wideLoggerhas,traceincluded. Narrowing here would make atraceline unrepresentable in the type of the surface that reads the file it is in.
type LogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error';