Skip to content

Commit

Permalink
Convert log to debug only
Browse files Browse the repository at this point in the history
  • Loading branch information
ReeceHumphreys committed Nov 20, 2023
1 parent 246ae20 commit b368969
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,11 @@ impl Backend {
.await;

let references = self.slice_config.lock().await.resolve_reference_paths();

// If debug is enabled, log the resolved references
#[cfg(debug_assertions)]
self.client
.log_message(MessageType::INFO, format!("references: {:?}", references))
.log_message(MessageType::LOG, format!("references: {:?}", references))
.await;

// Compile the Slice files
Expand Down

0 comments on commit b368969

Please sign in to comment.