Skip to content

Commit

Permalink
export loggers
Browse files Browse the repository at this point in the history
  • Loading branch information
jm96441n committed Feb 6, 2023
1 parent 2fbbda0 commit 87f9a38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/common/envoy/logger_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func validateLogLevel(level string) error {
}

func validateLoggerName(name string) error {
if _, ok := envoyLoggers[name]; !ok {
if _, ok := EnvoyLoggers[name]; !ok {
loggers := []string{}
for loggerName := range envoyLevels {
loggers = append(loggers, loggerName)
Expand Down Expand Up @@ -105,7 +105,7 @@ var envoyLevels = map[string]struct{}{
"off": {},
}

var envoyLoggers = map[string]struct{}{
var EnvoyLoggers = map[string]struct{}{
"admin": {},
"alternate_protocols_cache": {},
"aws": {},
Expand Down

0 comments on commit 87f9a38

Please sign in to comment.