Added suggestion to also enable debugging for any adapters in use
This commit is contained in:
parent
aaf42d8f60
commit
2d4302b6a5
@ -9,4 +9,9 @@ export function log(...args) {
|
|||||||
export function enableDebug(active) {
|
export function enableDebug(active) {
|
||||||
DEBUG = !!active;
|
DEBUG = !!active;
|
||||||
log("PawSQLite: debugging " + (DEBUG ? "enabled" : "disabled"));
|
log("PawSQLite: debugging " + (DEBUG ? "enabled" : "disabled"));
|
||||||
|
|
||||||
|
if (DEBUG) {
|
||||||
|
log("You might also want to enable debugging for the adapter that you " +
|
||||||
|
"are using");
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user