Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvironmentVariable ¶
GetEnvironmentVariable will try to find the value for the provided key If it can't be found it logs and exits the program
func OptionalEnvironmentVariable ¶ added in v0.1.1
OptionalEnvironmentVariable will try to find the value for the provided key If it can't be found it logs and returns and error that can be ignored
func SetupLogging ¶
func SetupLogging()
SetupLogging initalises a logrus logger with the log level set by environment variable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.