Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachCoreToLogger ¶
func NewCore ¶
func NewCore(cfg Configuration, factory SentryClientFactory) (zapcore.Core, error)
Types ¶
type Configuration ¶
Configuration is a minimal set of parameters for Sentry integration.
type SentryClientFactory ¶
type SentryClientFactory func() (*raven.Client, error)
func NewSentryClientFromClient ¶
func NewSentryClientFromClient(client *raven.Client) SentryClientFactory
func NewSentryClientFromDSN ¶
func NewSentryClientFromDSN(DSN string) SentryClientFactory
Click to show internal directories.
Click to hide internal directories.