fix: logging module

This commit is contained in:
mayur.popli
2025-03-23 18:23:38 +05:30
parent fef83705ec
commit 08db0c6d46
3 changed files with 6 additions and 221 deletions

View File

@@ -319,8 +319,6 @@ func TestInfof(t *testing.T) {
}
}
func TestWarnf(t *testing.T) {
logPath := setupLogger(t, WarnLevel)
ctx := context.WithValue(context.Background(), userID, "12345")
@@ -344,7 +342,6 @@ func TestWarnf(t *testing.T) {
}
}
func TestErrorf(t *testing.T) {
logPath := setupLogger(t, ErrorLevel)
ctx := context.WithValue(context.Background(), userID, "12345")
@@ -369,7 +366,6 @@ func TestErrorf(t *testing.T) {
}
}
func TestFatalf(t *testing.T) {
logPath := setupLogger(t, FatalLevel)
ctx := context.WithValue(context.Background(), userID, "12345")
@@ -394,8 +390,6 @@ func TestFatalf(t *testing.T) {
}
}
func TestPanicf(t *testing.T) {
logPath := setupLogger(t, PanicLevel)
ctx := context.WithValue(context.Background(), userID, "12345")