Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-v committed Mar 9, 2022
1 parent 15a1983 commit bf48f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit bf48f26

Please sign in to comment.