Skip to content

Instantly share code, notes, and snippets.

@matthewrdev
Last active August 28, 2019 01:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewrdev/0a3a42da98624b6302347986e80cd97b to your computer and use it in GitHub Desktop.
Save matthewrdev/0a3a42da98624b6302347986e80cd97b to your computer and use it in GitHub Desktop.
Is Mono's logging cluttering up your Android apps logs? Drop this into your project to snuff out those logs!
# See: http://developer.xamarin.com/guides/android/advanced_topics/garbage_collection/#Configuration
MONO_GC_PARAMS=bridge-implementation=tarjan,nursery-size=32m,soft-heap-limit=512m,evacuation-threshold=80
# See: http://www.mono-project.com/docs/advanced/runtime/logging-runtime-events/#trace-levels
MONO_LOG_LEVEL=info
# See: http://www.mono-project.com/docs/advanced/runtime/logging-runtime-events/#trace-filters
MONO_LOG_MASK=gc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment