gelf

package module
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 8 Imported by: 1

README

GoZix Zap Gelf

License Documentation

Release Build Status Go Report Card Code Coverage

The bundle provide a Zap GELF core to GoZix application.

Installation

go get github.com/gozix/zap-gelf/v2

Dependencies

Configuration example

{
  "zap": {
    "cores": {
      "gelf": {
        "type": "gelf",
        "addr": "127.0.0.1:12001",
        "level": "debug"
      }
    }
  }
}

Documentation

You can find documentation on pkg.go.dev and read source code if needed.

Questions

If you have any questions, feel free to create an issue.

Documentation

Index

Constants

View Source
const BundleName = "zap-gelf"

BundleName is default definition name.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct{}

Bundle implements the glue.Bundle interface.

func NewBundle

func NewBundle() *Bundle

NewBundle create bundle instance.

func (*Bundle) Build

func (b *Bundle) Build(builder di.Builder) error

Build implements the glue.Bundle interface.

func (*Bundle) DependsOn

func (b *Bundle) DependsOn() []string

func (*Bundle) Name

func (*Bundle) Name() string

Name implements the glue.Bundle interface.

Jump to

Keyboard shortcuts

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