Added functions to access members

Functions to access all members of baseElektronLogger.config
This commit is contained in:
balandi1 2019-12-06 12:59:35 -05:00
parent da6577fc68
commit 02abb1e882
7 changed files with 26 additions and 16 deletions

View file

@ -86,7 +86,7 @@ func (cLog consoleLogger) Logf(logType int, level log.Level, msgFmtString string
func (cLog *consoleLogger) createLogFile(prefix string) {
// Create log file for the type if it is enabled.
if cLog.isEnabled() {
filename := strings.Join([]string{prefix, cLog.config.FilenameExtension}, "")
filename := strings.Join([]string{prefix, cLog.getFilenameExtension()}, "")
dirName := cLog.logDir.getDirName()
fmt.Println(dirName)
if dirName != "" {