Documentation
¶
Index ¶
- func GetEnvironment() logp.Environment
- func Logging(beatName string, cfg *config.C) error
- func LoggingWithOutputs(beatName string, cfg *config.C, outputs ...zapcore.Core) error
- func LoggingWithTypedOutputs(beatName string, cfg, typedCfg *config.C, logKey, kind string, ...) errordeprecated
- func LoggingWithTypedOutputsLocal(beatName string, cfg, typedCfg *config.C, logKey, kind string, ...) (*logp.Logger, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvironment ¶ added in v0.9.6
func GetEnvironment() logp.Environment
func Logging ¶
Logging builds a logp.Config based on the given common.Config and the specified CLI flags.
func LoggingWithOutputs ¶
LoggingWithOutputs builds a logp.Config based on the given common.Config and the specified CLI flags along with the given outputs.
func LoggingWithTypedOutputs
deprecated
added in
v0.9.6
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.