core

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: MIT Imports: 5 Imported by: 0

README

sentry-zapcore

a simpler and cleaner integration for zap logger and sentry-go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithSentry

func WithSentry(options sentry.ClientOptions) zap.Option

Types

type Sentry

type Sentry struct {
	zapcore.Core
	// contains filtered or unexported fields
}

func (Sentry) Check

func (Sentry) Enabled

func (s Sentry) Enabled(level zapcore.Level) bool

func (Sentry) Sync

func (s Sentry) Sync() error

func (Sentry) With

func (s Sentry) With(fields []zapcore.Field) zapcore.Core

func (Sentry) Write

func (s Sentry) Write(entry zapcore.Entry, fields []zapcore.Field) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL