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/incremental.rs
vendored
1
cli/cache/incremental.rs
vendored
|
@ -164,6 +164,7 @@ struct SqlIncrementalCache {
|
|||
|
||||
impl SqlIncrementalCache {
|
||||
pub fn new(db_file_path: &Path, state_hash: u64) -> Result<Self, AnyError> {
|
||||
log::debug!("Loading incremental cache.");
|
||||
let conn = Connection::open(db_file_path)?;
|
||||
Self::from_connection(conn, state_hash, crate::version::deno())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue