Very cool logger :)
Would be great to change the predicate on the fly for debugging production. Is that possible? Should I send a PR?
This is what I want to do:
enableLogging({ predicate })
function predicate() {
return window.__MOBX_LOGGER__
}
and then can do window.__MOBX_LOGGER__ = true in the console
Very cool logger :)
Would be great to change the predicate on the fly for debugging production. Is that possible? Should I send a PR?
This is what I want to do:
and then can do
window.__MOBX_LOGGER__ = truein the console