From 58a846e0551fa8f0beb9d507403bd3c36801f0f6 Mon Sep 17 00:00:00 2001 From: wangjian Date: Wed, 13 Jul 2022 13:49:11 +0800 Subject: [PATCH] modify readme, add example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 35064e1..51c565c 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ func main(){ MaxAge : 30, Development : true, } - logger := logging.NewLogger() + logger := logging.NewLogger(opt) logger.Info("this is a test log") } ``` \ No newline at end of file