Skip to content

Commit

Permalink
LoggingWithOutputs does not need typed config
Browse files Browse the repository at this point in the history
  • Loading branch information
belimawr committed Apr 8, 2024
1 parent d3dd556 commit ec4a1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logp/configure/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func Logging(beatName string, cfg *config.C) error {

// LoggingWithOutputs builds a logp.Config based on the given common.Config and the specified
// CLI flags along with the given outputs.
func LoggingWithOutputs(beatName string, cfg, typedCfg *config.C, outputs ...zapcore.Core) error {
func LoggingWithOutputs(beatName string, cfg *config.C, outputs ...zapcore.Core) error {
config := logp.DefaultConfig(environment)
config.Beat = beatName
if cfg != nil {
Expand Down

0 comments on commit ec4a1aa

Please sign in to comment.