Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBaseDir ¶
func CreateBaseDir() error
CreateBaseDir creates the base directory in the configuration
func UpdateLogging ¶
func UpdateLogging()
UpdateLogging modifies default logging based on configuration
func UserHomeDir ¶
func UserHomeDir() string
UserHomeDir returns the home directory for windows & *nix
Types ¶
type LogSettings ¶
type LogSettings struct {
Level string `yaml:"level"`
}
LogSettings holds the settings for logging
Click to show internal directories.
Click to hide internal directories.