Categorygithub.com/gebv/zapsentry/v2
modulepackage
2.1.0
Repository: https://github.com/gebv/zapsentry.git
Documentation: pkg.go.dev

# README

Sentry client for zap logger

Zap Core for Sentry

CI Status Go Report Card

Features

  • with stacktrace (this is handy for analysis into Sentry UI)
  • with tests (can always be tests)
  • easy setup

Quick start

Using go mod:

go get github.com/gebv/[email protected]

Simple example:

// TODO

Version Policy

zapsentry follows semantic versioning for the documented public API on stable releases. v2 is the latest stable version and follows SemVer strictly. Follows changelog.

The library v1 after improved and finalized went into v2. v2 has a module name github.com/gebv/zapsentry/v2 v1 follows TheZeroSlave/zapsentry.

License

MIT, see LICENSE.

# Functions

No description provided by the author
No description provided by the author
Enviroment sets enviroment.
No description provided by the author
No description provided by the author
No description provided by the author
NewCore returns implementation of zapcore.Core.
Release sets release.
No description provided by the author
SentryTag add one tag.
SentryTags sets tags.
No description provided by the author
Set returns logger with sentry client.
SetWith returns logger with sentry client.
No description provided by the author
No description provided by the author

# Variables

DefaultOptions commonly used options.

# Structs

Configuration is a minimal set of parameters for Sentry integration.

# Type aliases

No description provided by the author