Skip to content

Commit

Permalink
Implement missing interface methods in plugin logger (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
mthenw committed Jul 11, 2018
1 parent 5f94b72 commit 7944da3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugin/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ func (l Hclog2ZapLogger) ResetNamed(name string) hclog.Logger {
return Hclog2ZapLogger{}
}

// SetLevel implementation.
func (l Hclog2ZapLogger) SetLevel(level hclog.Level) {
// no need to implement that as go-plugin doesn't use this method.
}

// StandardLogger implementation.
func (l Hclog2ZapLogger) StandardLogger(opts *hclog.StandardLoggerOptions) *log.Logger {
// no need to implement that as go-plugin doesn't use this method.
Expand Down

0 comments on commit 7944da3

Please sign in to comment.