From beaa0d88679c96e643f411d04a4ce9f6d159eaeb Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 23 Nov 2022 13:34:44 -0500 Subject: chore: more debug logging and avoid allocating strings in ts logging when not debug (#16689) --- cli/cache/check.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/cache/check.rs') diff --git a/cli/cache/check.rs b/cli/cache/check.rs index 6f3c41950..51adea9a1 100644 --- a/cli/cache/check.rs +++ b/cli/cache/check.rs @@ -17,6 +17,7 @@ pub struct TypeCheckCache(Option); impl TypeCheckCache { pub fn new(db_file_path: &Path) -> Self { + log::debug!("Loading type check cache."); match Self::try_new(db_file_path) { Ok(cache) => cache, Err(err) => { -- cgit v1.2.3