package
1.1.0
Repository: https://github.com/hpe-storage/dory.git
Documentation: pkg.go.dev

# Functions

CloseLogFile closes the current logFile.
ExecCommandOutput returns stdout and stderr in a single string, the return code, and error.
FileCheck : checks for error.
FileDelete : delete the file.
FileExists does a stat on the path and returns true if it existsIn addition, dir returns true if the path is a directory.
FileGetStrings : get the file contents as array of string.
FileGetStringsWithPattern : get the filecontents as array of string matching pattern pattern.
FileloadGob : Load and Decode Gob file.
FileReadFirstLine read first line from a fileTODO: make it OS independent.
FileSaveGob : save the Gob file.
FileWriteString : write line to the path.
FileWriteStrings writes all lines to file specified by path.
FindStringSubmatchMap : find and build the map of named groups.
HTTPLogger : wrapper for http logging.
OpenLog causes logging to happen to stdout.
OpenLogFile creates a file based logger.

# Variables

DebugLogLevel debug log level.
InfoLogLevel info log level.
LogDebug logger.
LogError logger.
LogInfo logger.