# Functions
CheckLogLevel check level if is a log level string.
No description provided by the author
Get the absolute path of configurationn file and try to open it
cfgPath: the path of configuration file user specified
cmdRunPath: args[0]
*/.
Try to get apiVersion from one of envName, configuration file or default value.
ValidateConns
1.
Try to get DB name from one of envName, configuration file or default value.
Try to get log DB type from one of envName, configuration file or default value.
ValidateIsSplitLog
1.
ValidateIsTls
1.
ValidateListenAddress
1.
ValidateListenPort
1.
ValidateListenSocket
1.
ValidateLogFile
1.
Try to get log kind from one of envName,configuration file or default value.
Try to get log level from one of envName, configuration file or default value.
Try to get log time format from one of envName, configuration file or default value.
Try to get password from one of envName, configuration file or default value.
ValidateServerAddress
1.
ValidateServerPort
1.
ValidateServerSocket
1.
ValidateTlsFile
1.
Try to get user from one of envName, configuration file or default value.