Created
November 15, 2012 15:49
-
-
Save sadaco/4079302 to your computer and use it in GitHub Desktop.
bugsense logcat support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For example if you want to get the last 1000 lines and log all messages | |
// with priority level "warning" and higher | |
BugSenseHandler.setLogging(1000, "*:W"); | |
//Log last 100 messages | |
BugSenseHandler.setLogging(100); | |
//Log all the messages with priority level "warning" and higher, on all tags. | |
BugSenseHandler.setLogging("*:W"); | |
//Log the latest 100 messages with priority level "warning" and higher, on all tags. | |
BugSenseHandler.setLogging(100, "*:W"); | |
//Log all the messages from the ActivityManager and the Debug and higher of your application. | |
BugSenseHandler.setLogging(400, "ActivityManager:I MyApp:D *:S"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment