logo
macro_rules! enable_logging {
    () => { ... };
}
👎 Deprecated:

Choose logging implementation yourself

Expand description

Enables logging through pretty-env-logger.

A logger will only print errors, warnings, and general information from teloxide and all logs from your program.

Note

Calling this macro is not mandatory; you can setup if your own logger if you want.