Documentation ¶
Index ¶
- func AppendOrCreateFile(filename string) (*os.File, error)
- func CreateDirectoryForFile(filename string) error
- func DeleteFile(filename string) error
- func FileExists(filename string) (bool, error)
- func HigherLogLevel(config string, cli string) (log.Level, error)
- func ReadFile(filename string) ([]byte, error)
- func SplitFileName(filename string) (string, string, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendOrCreateFile ¶
AppendOrCreateFile - Opens an existing file to be appended or creates a new one if it does not already exist
func CreateDirectoryForFile ¶
CreateDirectoryForFile - Creates the directory for the given file
func FileExists ¶
FileExists - Returns if the file exists
func HigherLogLevel ¶
HigherLogLevel - returns the higher logrus.Level of the two log levels submitted
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.