Skip to content
New issue

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

Turn off Debug log #201

Closed
danielgomezrico opened this issue Jul 1, 2015 · 2 comments
Closed

Turn off Debug log #201

danielgomezrico opened this issue Jul 1, 2015 · 2 comments
Milestone

Comments

@danielgomezrico
Copy link

Will be cool to have a setLogLevel or something like that to add leakcanary logcat prints just when you want.

@pyricau
Copy link
Member

pyricau commented Jul 14, 2015

Is that really a problem? You're supposed to use LeakCanary only in your dev builds. Do you need debug builds without all the logs.

I guess I could use Timber.

@artem-zinnatullin
Copy link

Yep, this is a problem (not huge, of course), personally I am fan of dynamic logs settings (and other debug configs), because when you look at the logs you just can't see useful info in this ocean of information: Retrofit loading something, GC cycle started/finished, db, Activities, Fragments and so on, so ability to choose what to log at runtime (in debug drawer) is great.

It'll be very cool to have some log proxy to redirect output to required source like a file/etc (useful for remote QA reports), but just regular dynamic log level will be okay too.

pyricau added a commit that referenced this issue Aug 28, 2015
@pyricau pyricau mentioned this issue Aug 28, 2015
@pyricau pyricau added this to the 1.4 milestone Jan 4, 2016
Pengchengxiang pushed a commit to XLibrarys/leakcanary that referenced this issue Jan 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants