Skip to content

Commit

Permalink
Add comments on exported types
Browse files Browse the repository at this point in the history
  • Loading branch information
Joël Marty committed Jul 30, 2019
1 parent bc2af5f commit 2e9d2a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ import (
"context"
)

// DefaultFactory is the factory used to create new loggers
var DefaultFactory Factory = NewFactory()

// LoggerFactory creates Logger instances
type LoggerFactory interface {
For(ctx context.Context) Logger
}
Expand Down

0 comments on commit 2e9d2a5

Please sign in to comment.