Skip to content

Commit

Permalink
add verbose flag and detail for apiPerfLogData in saveInterfaceStat()
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlbui authored and mhanson-github committed Sep 15, 2024
1 parent 1381780 commit ac55446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function batchInsert<T>(
}

export async function saveInterfaceStat(): Promise<void> {
console.log(apiPerfLogData)
/* prettier-ignore */ if (config.verbose) console.log(`saveInterfaceStat() > apiPerfLogData: ${apiPerfLogData}`)

const sqlQueryString = `
INSERT INTO interface_stats (
Expand Down

0 comments on commit ac55446

Please sign in to comment.