zapext

package module
v0.0.0-...-d5f6521 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 0 Imported by: 0

README

zapext

Zap logging package extensions.

zapsyslog

zapsyslog package can be used to log entries into syslog.

zapsentry

zapsentry package can be used to send log entries to Sentry.

Status

The packages included in this repository are still under active development.

License

MIT, see the LICENSE file.

Authors

Created by tchap. Being used at Energomonitor.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscardingWriteSyncer

type DiscardingWriteSyncer int

DiscardingWriteSyncer is a zapcore.WriteSyncer that does nothing.

func (DiscardingWriteSyncer) Sync

func (ws DiscardingWriteSyncer) Sync() error

Sync is a part of zapcore.WriteSyncer interface.

func (DiscardingWriteSyncer) Write

func (ws DiscardingWriteSyncer) Write(p []byte) (int, error)

Write is a part of zapcore.WriteSyncer interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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