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
Reading the documentation it seems like when the environment is Production, it's not possible to print the logs.
What is the reason behind that?
In our case we have a build variant that is pointing to production environment (hence we need to use Production environment in mParticle sdk configuration) but it's debug. In that variant we would like to print the logs.
I see the check on the environment is made in AbstractLogHandler, isLoggable private method.
In theory we could override the log method and achieve what we want, but it doesn't feel like the right way to do it.
Is there a less hacky way to be able to print the logs on a debug variant that points to Production?
The text was updated successfully, but these errors were encountered:
Reading the documentation it seems like when the
environment
isProduction
, it's not possible to print the logs.What is the reason behind that?
In our case we have a build variant that is pointing to production environment (hence we need to use
Production environment
in mParticle sdk configuration) but it's debug. In that variant we would like to print the logs.I see the check on the
environment
is made inAbstractLogHandler
,isLoggable
private method.In theory we could override the
log
method and achieve what we want, but it doesn't feel like the right way to do it.Is there a less hacky way to be able to print the logs on a debug variant that points to Production?
The text was updated successfully, but these errors were encountered: