configure

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvironment added in v0.9.6

func GetEnvironment() logp.Environment

func Logging

func Logging(beatName string, cfg *config.C) error

Logging builds a logp.Config based on the given common.Config and the specified CLI flags.

func LoggingWithOutputs

func LoggingWithOutputs(beatName string, cfg *config.C, outputs ...zapcore.Core) error

LoggingWithOutputs builds a logp.Config based on the given common.Config and the specified CLI flags along with the given outputs.

func LoggingWithTypedOutputs added in v0.9.6

func LoggingWithTypedOutputs(beatName string, cfg, typedCfg *config.C, logKey, kind string, outputs ...zapcore.Core) error

LoggingWithTypedOutputs applies some defaults then calls ConfigureWithTypedOutputs

Types

This section is empty.

Jump to

Keyboard shortcuts

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