Ver código fonte

remove unused file

Darien Raymond 8 anos atrás
pai
commit
c8f48fde4d
1 arquivos alterados com 0 adições e 25 exclusões
  1. 0 25
      app/log/config.go

+ 0 - 25
app/log/config.go

@@ -1,25 +0,0 @@
-package log
-
-func (v *Config) Apply() error {
-	if v == nil {
-		return nil
-	}
-	if v.AccessLogType == LogType_File {
-		if err := InitAccessLogger(v.AccessLogPath); err != nil {
-			return err
-		}
-	}
-
-	if v.ErrorLogType == LogType_None {
-		SetLogLevel(LogLevel_Disabled)
-	} else {
-		if v.ErrorLogType == LogType_File {
-			if err := InitErrorLogger(v.ErrorLogPath); err != nil {
-				return err
-			}
-		}
-		SetLogLevel(v.ErrorLogLevel)
-	}
-
-	return nil
-}