NTP-13111 | logs added (#470)

This commit is contained in:
Shivam Handa
2025-01-07 17:34:56 +05:30
committed by GitHub
parent 7a559462a4
commit 41f138c8d9

View File

@@ -1,6 +1,10 @@
package env
import "github.com/spf13/viper"
import (
"fmt"
"github.com/spf13/viper"
"houston/logger"
)
const (
DefaultZendutyTimeout = "DEFAULT_ZENDUTY_TIMEOUT"
@@ -18,5 +22,6 @@ const (
)
func IsQAApp() bool {
logger.Info(fmt.Sprintf("checking app_name: %s", viper.GetString(APP_NAME)))
return viper.GetString(APP_NAME) == QA_APP_NAME
}