package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddCallerSkip returns new logger with incremented stack frames to skip.
DefaultLoggingConfig returns default configuration for agent logging.
DefaultLoggingConfig returns default configuration for agent logging.
MakeInternalFileOutput creates a zapcore.Core logger that cannot be changed with configuration.
New returns a configured ECS Logger.
NewFromConfig takes the user configuration and generate the right logger.
NewInMemory returns a new in-memory logger along with the buffer to which i logs.
NewWithLogpLevel returns a configured logp Logger with specified level.
NewWithoutConfig returns a new logger without having a configuration.
SetLevel changes the overall log level of the global logger.
No description provided by the author
UtcTimestampEncode is a zapcore.TimeEncoder that formats time.Time in ISO-8601 in UTC.

# Constants

DefaultLogDirectory used in agent and its processes.
DefaultLogLevel used in agent and its processes.

# Type aliases

Config is a logging config.
Level is the level used in agent.
Logger alias ecslog.Logger with Logger.