modify readme, add example

This commit is contained in:
wangjian 2022-07-13 13:49:11 +08:00
parent 613f1213b3
commit 58a846e055
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ func main(){
MaxAge : 30, MaxAge : 30,
Development : true, Development : true,
} }
logger := logging.NewLogger() logger := logging.NewLogger(opt)
logger.Info("this is a test log") logger.Info("this is a test log")
} }
``` ```