Closed jbrunemann closed 6 years ago
@jbrunemann this is possible with just plain rollbar-php
: \Rollbar\Rollbar::logger()->configure()
. Just make sure you call it after plugins_loaded
hook.
I'm working right now on extending the UI to allow setting up all of the configuration options from the UI though.
@jbrunemann Actually, I can see how that can be confusing. Although my comment above is the way to do it, it's kind of difficult to know where is the best place to invoke \Rollbar\Rollbar::logger()->configure()
.
I have an idea how to make this more developer and user friendly.
Would be great if one can use a wp filter,
rollbar_php_config
for example, to append the config used by the init function. Or is there a better way to add config elements to the Rollbar instance used by this plugin?