From 85255a5e26e0508529801070fa4ce521d9994d61 Mon Sep 17 00:00:00 2001 From: Marcelo Aymone Date: Tue, 14 Aug 2018 23:23:11 -0300 Subject: [PATCH] Fix typo on documentation (#94) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c9099b5..00fedae 100644 --- a/README.md +++ b/README.md @@ -444,7 +444,7 @@ if err := http.ListenAndServe(":8080", nil); err != nil { Some settings can be changed and will by applied to all loggers: * `log.Logger`: You can set this value to customize the global logger (the one used by package level methods). -* `zerolog.SetGlobalLevel`: Can raise the minimum level of all loggers. Set this to `zerolog.Disable` to disable logging altogether (quiet mode). +* `zerolog.SetGlobalLevel`: Can raise the minimum level of all loggers. Set this to `zerolog.Disabled` to disable logging altogether (quiet mode). * `zerolog.DisableSampling`: If argument is `true`, all sampled loggers will stop sampling and issue 100% of their log events. * `zerolog.TimestampFieldName`: Can be set to customize `Timestamp` field name. * `zerolog.LevelFieldName`: Can be set to customize level field name.