mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
chore: more debug logging and avoid allocating strings in ts logging when not debug (#16689)
This commit is contained in:
parent
cbf4fa143f
commit
beaa0d8867
6 changed files with 55 additions and 20 deletions
1
cli/cache/check.rs
vendored
1
cli/cache/check.rs
vendored
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue