loggerutil

package
v0.0.0-...-19239a5 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: EUPL-1.2 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	LogLevel              log.Level
	ElasticsearchUrl      string
	ElasticsearchUser     string
	ElasticsearchPassword string
	ElasticIndex          string
	Format                string
}

func NewConfig

func NewConfig(defaultConfig Configuration) Configuration

func (*Configuration) ConnectElastic

func (c *Configuration) ConnectElastic()

Asynchronously send logs to elasticsearch In future we can replace this with filebeat

Jump to

Keyboard shortcuts

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