An Open Source debugging and logging tool for the casual user
For more information please check the wiki
-
Download Traceratops app from the Play Store. You can scan the QR code below.
-
Set up the trust agent by following these steps.
NOTE: You can skip this step if you just want to try out the SDK. However, if you are planning to launch your app to production, it is strongly recommended that you complete this step. -
Now include the SDK in your app. To do that, include the following dependency in your app's build.gradle:
compile 'com.bubblegum.traceratops:traceratops-core:0.2.0'
-
Add the following code in your app's Application class'
onCreate()
method to set up the SDK:Traceratops.setup(this) .handleCrashes(true) .connect();
If you have skipped the trust agent setup, add
.withTrustMode(TrustMode.TRUST_MODE_OVERRIDE)
to the above code. To find out more about trust agents and TrustModes, click here. -
Use
com.bubblegum.traceratops.sdk.client.Log
class to record logs. Optionally, you can replace all instances ofandroid.util.Log
import statements with this one.
If done correctly, you should see Log entries in the Traceratops app dashboard.
Copyright 2013 Bubblegum Developers
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.