Versions in this module Expand all Collapse all v0 v0.0.13 Mar 15, 2026 Changes in this version + const LevelFieldName + const LevelNamesFieldName + var LevelNamesDefault = []string + var LogrusMetricComponent = &component.Component + type Config struct + LevelNames []string + Levels set.Set[logrus.Level] + func Configuration(config *Config, configurator configurator.Configurator) (*Config, error) + func NewConfig() *Config + type MetricHook struct + func NewMetricHook(appConfig *compogo.Config, config *Config) *MetricHook + func (metric *MetricHook) Fire(entry *logrus.Entry) error + func (metric *MetricHook) Levels() []logrus.Level