Interfaces
@system-inc/base-foundation · 515c140 · 1 symbols
LoggingSettings
Logging settings for a Base Worker (BaseSettings.logging). These are
the in-code defaults; the LOG_LEVEL environment variable overrides
level and categories at deploy time (e.g.
LOG_LEVEL=warn,rpc=debug).
Members
categories?:Record<string, LogLevel>Per-category thresholds overriding
level, keyed by the category name passed toLogger.create(e.g.{ rpc: LogLevel.Debug }). The framework's own categories includebase,http,rpc,gql,orm,queue,scheduled,ws,event,kv,durable,common.level?:LogLevelThe default log threshold. Defaults to
LogLevel.Info.requestLog?:booleanWhether to emit the per-request log line (
GET /notes 200 OK (12ms)). Defaults to true. This is a request log, not an application log — it is the single most expensive log line on the hot path, so it has its own switch: turn it off for maximum throughput while keepinginfoelsewhere.