Lower some logging from debug -> trace
This commit is contained in:
parent
f7ec8f210d
commit
76ec982958
|
|
@ -66,7 +66,7 @@ fn run_and_return(
|
|||
) -> Result<()> {
|
||||
use winit::{event_loop::ControlFlow, platform::run_on_demand::EventLoopExtRunOnDemand};
|
||||
|
||||
log::debug!("Entering the winit event loop (run_on_demand)…");
|
||||
log::trace!("Entering the winit event loop (run_on_demand)…");
|
||||
|
||||
// When to repaint what window
|
||||
let mut windows_next_repaint_times = HashMap::default();
|
||||
|
|
@ -231,7 +231,7 @@ fn run_and_exit(
|
|||
mut winit_app: impl WinitApp + 'static,
|
||||
) -> Result<()> {
|
||||
use winit::event_loop::ControlFlow;
|
||||
log::debug!("Entering the winit event loop (run)…");
|
||||
log::trace!("Entering the winit event loop (run)…");
|
||||
|
||||
// When to repaint what window
|
||||
let mut windows_next_repaint_times = HashMap::default();
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ impl Clipboard {
|
|||
fn init_arboard() -> Option<arboard::Clipboard> {
|
||||
crate::profile_function!();
|
||||
|
||||
log::debug!("Initializing arboard clipboard…");
|
||||
log::trace!("Initializing arboard clipboard…");
|
||||
match arboard::Clipboard::new() {
|
||||
Ok(clipboard) => Some(clipboard),
|
||||
Err(err) => {
|
||||
|
|
@ -140,7 +140,7 @@ fn init_smithay_clipboard(
|
|||
crate::profile_function!();
|
||||
|
||||
if let Some(RawDisplayHandle::Wayland(display)) = raw_display_handle {
|
||||
log::debug!("Initializing smithay clipboard…");
|
||||
log::trace!("Initializing smithay clipboard…");
|
||||
#[allow(unsafe_code)]
|
||||
Some(unsafe { smithay_clipboard::Clipboard::new(display.display.as_ptr()) })
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -390,7 +390,7 @@ impl ContextImpl {
|
|||
.entry(pixels_per_point.into())
|
||||
.or_insert_with(|| {
|
||||
#[cfg(feature = "log")]
|
||||
log::debug!("Creating new Fonts for pixels_per_point={pixels_per_point}");
|
||||
log::trace!("Creating new Fonts for pixels_per_point={pixels_per_point}");
|
||||
|
||||
is_new = true;
|
||||
crate::profile_scope!("Fonts::new");
|
||||
|
|
@ -1810,7 +1810,7 @@ impl ContextImpl {
|
|||
true
|
||||
} else {
|
||||
#[cfg(feature = "log")]
|
||||
log::debug!(
|
||||
log::trace!(
|
||||
"Freeing Fonts with pixels_per_point={} because it is no longer needed",
|
||||
pixels_per_point.into_inner()
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue