Function renaming

Renamed 'GetConfig()' to 'getConfig()', so that it is not exposed
outside the package.
This commit is contained in:
balandi1 2019-12-09 11:03:40 -05:00
parent 027adef642
commit 0ecbe55398
2 changed files with 2 additions and 2 deletions

View file

@ -107,7 +107,7 @@ func BuildLogger(prefix string, logConfigFilename string) error {
head := &baseElektronLogger{baseLogData: b}
// Read configuration from yaml.
if config, err := GetConfig(logConfigFilename); err != nil {
if config, err := getConfig(logConfigFilename); err != nil {
return errors.Wrap(err, "Failed to build logger")
} else {
cLog := newConsoleLogger(config, b, CONSOLE, prefix, logger, logDir)