mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Refactor logging level from trace to debug for performance improvement
- Updated logging statements in various functions across the ApiContext, ServeSession, and Reconciler modules to use `Log.debug` instead of `Log.trace`. - This change aims to reduce the verbosity of logs and improve performance by limiting the amount of logged information during execution, while still retaining essential timing information for debugging purposes.
This commit is contained in:
parent
25ca0bb27e
commit
8b4573b578
9 changed files with 75 additions and 75 deletions
|
|
@ -417,7 +417,7 @@ impl ApiService {
|
|||
})
|
||||
.await
|
||||
.ok();
|
||||
log::trace!(
|
||||
log::debug!(
|
||||
"[TIMING] handle_api_rojo: compute_git_metadata {}ms",
|
||||
t.elapsed().as_millis()
|
||||
);
|
||||
|
|
@ -426,7 +426,7 @@ impl ApiService {
|
|||
None
|
||||
};
|
||||
|
||||
log::trace!(
|
||||
log::debug!(
|
||||
"[TIMING] handle_api_rojo: total {}ms",
|
||||
handler_start.elapsed().as_millis()
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue