- add LokiConfig struct and Loki field to LoggerConfig for dev direct-push
- replace getEncoder/getLogWriter with mode-aware encoder and getWriteSyncer
(colored console in dev, JSON in container; stdout instead of stderr)
- add containerFields() to inject K8s pod/namespace/node as global log fields
- add loki_syncer.go: async batched push to Loki with 512-entry channel
- introduce makeLogFieldsSkip/getLoggerCallerInfoSkip for wrapper call-frame support
- expose ErrorSkip/WarnSkip/InfoSkip facade functions for skip-frame logging
- add loki.endpoint placeholder to eventrt-configmap.yaml for self-documentation
|
||
|---|---|---|
| .. | ||
| facede.go | ||
| logger.go | ||
| loki_syncer.go | ||
| zap.go | ||