From 2d4302b6a5b55fedc0338e0092213a3283c7ae2d Mon Sep 17 00:00:00 2001 From: Ben Ashton Date: Tue, 2 Mar 2021 01:19:01 -0800 Subject: [PATCH] Added suggestion to also enable debugging for any adapters in use --- src/log.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/log.mjs b/src/log.mjs index 65db718..e95c053 100644 --- a/src/log.mjs +++ b/src/log.mjs @@ -9,4 +9,9 @@ export function log(...args) { export function enableDebug(active) { DEBUG = !!active; log("PawSQLite: debugging " + (DEBUG ? "enabled" : "disabled")); + + if (DEBUG) { + log("You might also want to enable debugging for the adapter that you " + + "are using"); + } } \ No newline at end of file