code: func InitLog() error {
  
  	var err error
  
  	// init logger
  	LogAccess = logrus.New()
  	LogError = logrus.New()
  
  	LogAccess.Formatter = &logrus.TextFormatter{
  		TimestampFormat: "2006/01/02 - 15:04:05",
  		FullTimestamp:   true,
  	}
  
  	LogError.Formatter = &logrus.TextFormatter{
  		TimestampFormat: "2006/01/02 - 15:04:05",
  		FullTimestamp:   true,
  	}
  
  	// set logger
  	if err = SetLogLevel(LogAccess, PushConf.Log.AccessLevel); err != nil {
  		return errors.New("Set access log level error: " + err.Error())
  	}
  
  	if err = SetLogLevel(LogError, PushConf.Log.ErrorLevel); err != nil {
  		return errors.New("Set error log level error: " + err.Error())
  	}
  
  	if err = SetLogOut(LogAccess, PushConf.Log.AccessLog); err != nil {
  		return errors.New("Set access log path error: " + err.Error())
  	}
  
  	if err = SetLogOut(LogError, PushConf.Log.ErrorLog); err != nil {
  		return errors.New("Set error log path error: " + err.Error())
  	}
  
  	return nil
  }
docs: // InitLog use for initial log module