Skip to content

Commit

Permalink
Update comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakerouse committed Jul 14, 2020
1 parent d31a314 commit e6a6c37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libbeat/logp/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ func Configure(cfg Config) error {
return ConfigureWithOutputs(cfg)
}

// Configure configures the logp package also sets up the following outputs to also be used
// by the logger.
// Configure configures the logger from passed in config and also adds the passed outputs to the logger.
//
// When passing in outputs the logger will log to each output.
func ConfigureWithOutputs(cfg Config, outputs ...zapcore.Core) error {
var (
sink zapcore.Core
Expand Down

0 comments on commit e6a6c37

Please sign in to comment.