Update grafana-plugin-go-sdk to v0.187.0 (#76816)

This commit is contained in:
Marcus Efraimsson
2023-10-19 16:17:31 +02:00
committed by GitHub
parent c2efcdde09
commit 2adfdb49c9
3 changed files with 9 additions and 3 deletions

View File

@ -176,3 +176,9 @@ func (l *logWrapper) With(args ...any) sdklog.Logger {
l.logger = l.logger.New(args...)
return l
}
func (l *logWrapper) FromContext(ctx context.Context) sdklog.Logger {
return &logWrapper{
logger: l.logger.FromContext(ctx),
}
}