Skip to content

Commit

Permalink
Remove annoying info prints
Browse files Browse the repository at this point in the history
  • Loading branch information
hakolao committed Jan 13, 2025
1 parent 8743ee6 commit e68fb0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use std::{
};

use flume::{unbounded, Receiver, Sender};
use log::{error, info};
use log::{error, trace};
use notify::{Event, RecommendedWatcher, RecursiveMode, Watcher};
use path_clean::PathClean;
use wgpu::naga::Module;
Expand Down Expand Up @@ -86,7 +86,7 @@ impl WatchedShaderModule {
}
(watchers, receivers)
} else {
info!("Static shader sources are not watched for {}", source.path);
trace!("Static shader sources are not watched for {}", source.path);
(HashMap::default(), HashMap::default())
};
Ok(WatchedShaderModule {
Expand Down Expand Up @@ -216,7 +216,7 @@ pub fn start_file_watcher(
let (tx, rx) = unbounded::<notify::Result<Event>>();
match file_watcher(tx, path) {
Ok(watcher) => {
info!("Watching {} for changes", path);
trace!("Watching {} for changes", path);
(rx, Some(watcher))
}
Err(e) => {
Expand Down

0 comments on commit e68fb0f

Please sign in to comment.