diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-11-23 13:34:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-23 13:34:44 -0500 |
commit | beaa0d88679c96e643f411d04a4ce9f6d159eaeb (patch) | |
tree | 3eae69a47f984cd8c19860758feb969a74b26bb7 /cli/cache/check.rs | |
parent | cbf4fa143fe0e21647ca9518ec93c349199da8f4 (diff) |
chore: more debug logging and avoid allocating strings in ts logging when not debug (#16689)
Diffstat (limited to 'cli/cache/check.rs')
-rw-r--r-- | cli/cache/check.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<Connection>); 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) => { |