From bf48f26080c81776297c507e54649d727eb4a655 Mon Sep 17 00:00:00 2001 From: Richie Varghese Date: Thu, 10 Mar 2022 01:26:57 +0530 Subject: [PATCH] updated readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2dae524..ef7ef6a 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ import "github.com/ric-v/glog" func main() { logger := glog.JSONGlogger("glogger.log") - defer logger.Close() + defer logger.Cleanup() // log the message to custom json logger logger.Info("", "Hello", "World")