|
|
@ -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"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |