Log like a pro using a secure logger in Android.
Netcyrax
112

I get an error saying “illegal self-reference” in this line

private final Logger logger = logger.withTag(this.getClass().getSimpleName());

then i changed this into

private final Logger logger = Logger.withTag(this.getClass().getSimpleName());

this now working fine

Like what you read? Give sivaBE35 a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.