diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-02-16 18:21:02 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-02-16 18:21:02 +0100 |
commit | 55a94110287ad2b1a55953febac48422a9d3ba89 (patch) | |
tree | ca57ff2df49383e3f34a31df8c7c7e3d06470ba1 /crates/yt_dlp/src/logging.rs | |
parent | refactor(yt/): Use the new `termsize` and `uu_fmt` crates (diff) | |
download | yt-55a94110287ad2b1a55953febac48422a9d3ba89.zip |
style(treewide): Re-format
Diffstat (limited to 'crates/yt_dlp/src/logging.rs')
-rw-r--r-- | crates/yt_dlp/src/logging.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/yt_dlp/src/logging.rs b/crates/yt_dlp/src/logging.rs index 670fc1c..e731502 100644 --- a/crates/yt_dlp/src/logging.rs +++ b/crates/yt_dlp/src/logging.rs @@ -17,10 +17,11 @@ use std::ffi::CString; -use log::{logger, Level, MetadataBuilder, Record}; +use log::{Level, MetadataBuilder, Record, logger}; use pyo3::{ + Bound, PyAny, PyResult, Python, prelude::{PyAnyMethods, PyListMethods, PyModuleMethods}, - pyfunction, wrap_pyfunction, Bound, PyAny, PyResult, Python, + pyfunction, wrap_pyfunction, }; /// Consume a Python `logging.LogRecord` and emit a Rust `Log` instead. |