From ee4d03e658e522bcb0fff74e4b4794a5434b2a05 Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Thu, 3 Nov 2022 14:46:25 +0300 Subject: [PATCH] Using verbosity constant --- db_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/db_test.go b/db_test.go index 65bb2e1..cc642d6 100644 --- a/db_test.go +++ b/db_test.go @@ -13,11 +13,13 @@ import ( "github.com/go-logr/stdr" ) +const verbosity = 0 + var logger = stdr.New(log.New(os.Stdout, "", log.Lshortfile)) func getSettings() db.Settings { //TODO: use ENV settings as well - //stdr.SetVerbosity(2) + stdr.SetVerbosity(verbosity) return db.Settings{Host: "127.0.0.1", Port: "3306", User: "root", Pass: "test", Name: "tests", Prefix: "tests"} }