Skip to content

Commit

Permalink
promlog: add comment for Config (weaveworks#156)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Yu <yu.alex96@gmail.com>
  • Loading branch information
alexander-yu authored and brian-brazil committed Nov 16, 2018
1 parent 41aa239 commit 1f2c4f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions promlog/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func (f *AllowedFormat) Set(s string) error {
return nil
}

// Config is a struct containing configurable settings for the logger
type Config struct {
Level *AllowedLevel
Format *AllowedFormat
Expand Down

0 comments on commit 1f2c4f3

Please sign in to comment.