Debugging SQL Command Logging in D1Client with Monkey-Patching
For debugging purposes, I've monkey-patched the D1Client to log SQL commands whenever they are executed. The code below worked, however it's not respecting the log level set at the entry point:
I'm guessing it's because of the runFrok at:
Do I need to change my program to use a managed runtime? or is there an easier way to fix it?
Logger.minimumLogLevel(LogLevel.None)I'm guessing it's because of the runFrok at:
E.logInfo(query, args).pipe(E.runFork)?Do I need to change my program to use a managed runtime? or is there an easier way to fix it?
