Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
FailedToLoadEnvironmentVariablesError = errors.New("failed to load environment variables")
)
Functions ¶
func LoadVariable ¶ added in v0.6.0
LoadVariable load variable from environment variables
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger is the environment logger
func NewLogger ¶
func NewLogger(logger commonlogger.Logger) (*Logger, error)
NewLogger creates a new environment logger
func (*Logger) EnvironmentVariableLoaded ¶
EnvironmentVariableLoaded logs a message when an environment variable is loaded
Click to show internal directories.
Click to hide internal directories.