configure

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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