-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
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?
Metadata
Metadata
Assignees
Labels
No labels