20 lines
871 B
Plaintext
20 lines
871 B
Plaintext
# @mifi/logger — environment variables
|
|
#
|
|
# Copy this file or set the variables in your container / process environment.
|
|
# Explicit `level` on createLogger() always takes precedence over these values.
|
|
# In browsers, sessionStorage.showLoggingFor is checked before these env vars.
|
|
|
|
# Override the log level for this process.
|
|
# One of: trace | debug | info | warn | error | silent
|
|
# When unset, the level defaults from the logger's `environment` option:
|
|
# development → trace
|
|
# staging → warn
|
|
# production → error
|
|
# MIFI_LOG_LEVEL=debug
|
|
|
|
# Optional comma-separated namespace filters applied together with MIFI_LOG_LEVEL.
|
|
# A filter matches the namespace exactly or as a prefix of a child
|
|
# (e.g. WIDGET matches WIDGET and WIDGET:Button).
|
|
# When unset (and MIFI_LOG_LEVEL is set), all namespaces are enabled at that level.
|
|
# MIFI_LOG_NAMESPACES=WIDGET,API
|