gelf

package module
v1.1.0 Latest Latest
Warning

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

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

README

GoZix Zap Gelf

Dependencies

Configuration example

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

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 added in v1.1.0

func NewBundle() *Bundle

NewBundle create bundle instance.

func (*Bundle) Build

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

Build implements the glue.Bundle interface.

func (*Bundle) DependsOn added in v1.1.0

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

Name implements the glue.BundleDependsOn interface.

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