refactor(dynamodb): Use Traefik Logger.
This commit is contained in:
parent
46faa7a745
commit
a7ec785994
1 changed files with 6 additions and 0 deletions
|
@ -61,6 +61,12 @@ func (p *Provider) createClient() (*dynamoClient, error) {
|
|||
}),
|
||||
}
|
||||
|
||||
if p.Trace {
|
||||
cfg.WithLogger(aws.LoggerFunc(func(args ...interface{}) {
|
||||
log.Debug(args...)
|
||||
}))
|
||||
}
|
||||
|
||||
if p.Endpoint != "" {
|
||||
cfg.Endpoint = aws.String(p.Endpoint)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue