From 653c2e3f66f9ad8f726f4bf1bee210c3ba3b7215 Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Thu, 13 Feb 2020 23:45:16 +0600 Subject: [PATCH] Fix the docs --- src/logging.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/logging.rs b/src/logging.rs index 5080fb8d..5da843ab 100644 --- a/src/logging.rs +++ b/src/logging.rs @@ -20,7 +20,8 @@ macro_rules! enable_logging { }; } -/// Enables logging through [pretty-env-logger]. +/// Enables logging through [pretty-env-logger] with a custom filter for your +/// program. /// /// A logger will **only** print errors from teloxide and restrict logs from /// your program by the specified filter. @@ -38,6 +39,7 @@ macro_rules! enable_logging { /// you want. /// /// [pretty-env-logger]: https://crates.io/crates/pretty_env_logger +/// [`LevelFilter::Debug`]: https://docs.rs/log/0.4.10/log/enum.LevelFilter.html #[macro_export] macro_rules! enable_logging_with_filter { ($filter:expr) => {