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
The combination of bole and debug works quite well for a simple logger, and it's used quite often.
Unfortunately rabbot automatically configures bole.output when loaded, causing debug messages to appear twice if another bole.output is called by another library or the app itself.
Would it be possible to not configure bole output automatically or make it more clever?
Had a couple of hours of fun trying to figure out why callbacks are always called twice... turns out only the logs were duplicated.
Workaround in an early hook script:
// Load rabbot early since it messes with bolerequire('rabbot');require('bole').reset();
The text was updated successfully, but these errors were encountered:
The combination of
bole
anddebug
works quite well for a simple logger, and it's used quite often.Unfortunately
rabbot
automatically configuresbole.output
when loaded, causing debug messages to appear twice if anotherbole.output
is called by another library or the app itself.Would it be possible to not configure bole output automatically or make it more clever?
Had a couple of hours of fun trying to figure out why callbacks are always called twice... turns out only the logs were duplicated.
Workaround in an early hook script:
The text was updated successfully, but these errors were encountered: