From 89dee3a1df33de1720ebdb63bc99bf343fe43722 Mon Sep 17 00:00:00 2001 From: Guoqiang Chen Date: Sat, 19 May 2018 06:19:15 +0000 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e6c4126..9b334e2 100644 --- a/README.md +++ b/README.md @@ -42,10 +42,10 @@ func main() { log.Errorf("error = %v", errors.New("some error")) // dynamic set level - log.Default.Level = log.DEBUG + log.Default.Level = log.WARN log.Debug("cannot output debug message") - log.Infoln("can output info message") + log.Errorln("can output error message", errors.New("some error")) } ```