package
0.75.5
Repository: https://github.com/gruntwork-io/terragrunt.git
Documentation: pkg.go.dev

# Packages

Package format implements a custom format logs.
Package writer provides a writer that redirects Write requests to configured logger and level.

# Functions

No description provided by the author
Debug logs a message at level Debug on the standard logger.
Debugf logs a message at level Debug on the standard logger.
Debugln logs a message at level Debug on the standard logger.
Default returns the standard logger used by the package-level output functions.
Error logs a message at level Error on the standard logger.
Errorf logs a message at level Error on the standard logger.
Errorln logs a message at level Error on the standard logger.
FromLogrusLevel converts `logrus.Level` to our `Level`.
Info logs a message at level Info on the standard logger.
Infof logs a message at level Info on the standard logger.
Infoln logs a message at level Info on the standard logger.
No description provided by the author
New returns a new Logger instance.
ParseLevel takes a string and returns the Level constant.
Print logs a message at level Info on the standard logger.
Printf logs a message at level Info on the standard logger.
Println logs a message at level Info on the standard logger.
RemoveAllASCISeq returns a string with all ASCII color characters removed.
ResetASCISeq returns a string with the ASCI color reset to the default one.
SetOptions sets the options for the standard logger.
Trace logs a message at level Trace on the standard logger.
Tracef logs a message at level Trace on the standard logger.
Warn logs a message at level Warn on the standard logger.
Warnf logs a message at level Warn on the standard logger.
Warnln logs a message at level Warn on the standard logger.
WithError adds an error to log entry, using the value defined in ErrorKey as key.
WithField allocates a new entry and adds a field to it.
WithFields adds a struct of fields to the logger.
WithFormatter sets the logger formatter.
WithHooks adds hooks to the logger hooks.
WithLevel sets the logger level.
WithOptions returns a new logger with the given options.
WithOutput sets the logger output.

# Constants

No description provided by the author
No description provided by the author
DebugLevel level.
ErrorLevel level.
InfoLevel level.
StderrLevel level.
StdoutLevel level.
TraceLevel level.
WarnLevel level.

# Variables

AllLevels exposes all logging levels.

# Structs

Entry
Entry is the final logging entry.

# Interfaces

Formatter is used to implement a custom Formatter.
Logger wraps the logrus package to have full control over implementing the required functionality, such as adding or removing log levels etc.

# Type aliases

Fields is the type used to pass arguments to `WithFields`.
Level type.
Levels is a slice of `Level` type.
Option is a function to set options for logger.