You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't looked to far into the library code to see what's going on, but even if I provide a logger with .OFF, I can't silence the debug logs (perhaps because they always go to console.log in JS which are picked up by dart debugger connection?).
something like this should work:
hierarchicalLoggingEnabled =true;
final logger =Logger('PowerSyncLogger')..level =Level.OFF;
db =PowerSyncDatabase(schema: schema, path:awaitgetDatabasePath(), logger: logger);
it would be nice to be able to silence these so I can see my other web logs cleanly while powersync is running.
Thank you for the great sdk!
The text was updated successfully, but these errors were encountered:
From the changes made in your fork it looks like you've removed the kDebugMode check. Just for my clarification, would you like to disable the debug logs while in debug mode, or does it seem like for web the debug mode is always enabled?
I haven't looked to far into the library code to see what's going on, but even if I provide a logger with
.OFF
, I can't silence the debug logs (perhaps because they always go to console.log in JS which are picked up by dart debugger connection?).something like this should work:
it would be nice to be able to silence these so I can see my other web logs cleanly while powersync is running.
Thank you for the great sdk!
The text was updated successfully, but these errors were encountered: