We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, if effector-logger is added via babel-plugin, like this:
effector-logger
babel-plugin
{ "env": { "development": { "plugins": ["effector-logger/babel-plugin"] } } }
There is no option to configure it in any way.
For e.g. i would prefer to keep easy one-line installation via plugin, but to disable logs to console in favor of inspector or redux-devtools
Allow configure effector-logger via plugin options, like it works now in attachLogger options
attachLogger
{ "env":{ "development":{ "plugins":[ [ "effector-logger/babel-plugin", { "reduxDevtools":"disabled", "inspector":"disabled", "console":"disabled" } ] ] } } }
The text was updated successfully, but these errors were encountered:
Also currently effector-logger/babel-plugun replaces imports like effector -> effector-logger
effector -> effector-logger
It may be useful to add option to change this behaviour
Sorry, something went wrong.
I would like to log changes only with ReduxDevtools, maybe you find any solution for disabling the global console logging?
I've tried the solution with effector-root and attachLogger, but it doesn't help. Also in my case, any domains at attachLogger don't work at all.
effector-root
import { attachLogger } from 'effector-logger/attach' import { root } from 'effector-root' attachLogger(root, { console: 'disabled' })
Fixed by recent 0.14.0 release
No branches or pull requests
Problem
Currently, if
effector-logger
is added viababel-plugin
, like this:There is no option to configure it in any way.
For e.g. i would prefer to keep easy one-line installation via plugin, but to disable logs to console in favor of inspector or redux-devtools
Propolsal
Allow configure
effector-logger
via plugin options, like it works now inattachLogger
optionsThe text was updated successfully, but these errors were encountered: