diff --git a/core.go b/core.go index 8b69503..79ff162 100644 --- a/core.go +++ b/core.go @@ -21,6 +21,10 @@ var ( ErrInvalidBreadcrumbLevel = errors.New("breadcrumb level must be lower than or equal to error level") ) +type ClientGetter interface { + GetClient() *sentry.Client +} + func NewScopeFromScope(scope *sentry.Scope) zapcore.Field { f := zap.Skip() f.Interface = scope