summaryrefslogtreecommitdiff
path: root/cli/cache/parsed_source.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-11-23 13:34:44 -0500
committerGitHub <noreply@github.com>2022-11-23 13:34:44 -0500
commitbeaa0d88679c96e643f411d04a4ce9f6d159eaeb (patch)
tree3eae69a47f984cd8c19860758feb969a74b26bb7 /cli/cache/parsed_source.rs
parentcbf4fa143fe0e21647ca9518ec93c349199da8f4 (diff)
chore: more debug logging and avoid allocating strings in ts logging when not debug (#16689)
Diffstat (limited to 'cli/cache/parsed_source.rs')
-rw-r--r--cli/cache/parsed_source.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/cache/parsed_source.rs b/cli/cache/parsed_source.rs
index 0c9fe5c97..9ab926874 100644
--- a/cli/cache/parsed_source.rs
+++ b/cli/cache/parsed_source.rs
@@ -143,6 +143,7 @@ impl ParsedSourceCacheModuleAnalyzer {
cli_version: String,
sources: ParsedSourceCacheSources,
) -> Result<Self, AnyError> {
+ log::debug!("Loading cached module analyzer.");
let conn = match db_file_path {
Some(path) => Connection::open(path)?,
None => Connection::open_in_memory()?,