From 85154655875de48550edb7ba95b4acf3241fd575 Mon Sep 17 00:00:00 2001 From: kingecg Date: Sat, 21 Sep 2024 22:41:52 +0800 Subject: [PATCH] fix test app --- .gitignore | 1 + test/main.go | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f4d432a..363c2f6 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ # Dependency directories (remove the comment below to include it) # vendor/ +log/ \ No newline at end of file diff --git a/test/main.go b/test/main.go index 89c22bd..52b5655 100644 --- a/test/main.go +++ b/test/main.go @@ -4,7 +4,7 @@ import ( logger "git.pyer.club/kingecg/gologger" ) -func main() { +func aqmain() { logger.Configure(logger.LoggersConfig{ Categories: map[string]logger.LogConfig{ "default": { @@ -40,5 +40,4 @@ func main() { defaultLogger.Debug("debug again") fatLogger.Debug("debug again") fatLogger.Error("This is error") - select {} }