mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Fix the docs
This commit is contained in:
parent
34d44e5195
commit
653c2e3f66
1 changed files with 3 additions and 1 deletions
|
@ -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
|
/// A logger will **only** print errors from teloxide and restrict logs from
|
||||||
/// your program by the specified filter.
|
/// your program by the specified filter.
|
||||||
|
@ -38,6 +39,7 @@ macro_rules! enable_logging {
|
||||||
/// you want.
|
/// you want.
|
||||||
///
|
///
|
||||||
/// [pretty-env-logger]: https://crates.io/crates/pretty_env_logger
|
/// [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_export]
|
||||||
macro_rules! enable_logging_with_filter {
|
macro_rules! enable_logging_with_filter {
|
||||||
($filter:expr) => {
|
($filter:expr) => {
|
||||||
|
|
Loading…
Reference in a new issue