This file contains 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
<repositories> | |
<!-- other repositories here --> | |
<repository> | |
<id>bugsense repo</id> | |
<name>The BugSense Repository</name> |
This file contains 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
<dependencies> | |
<!-- other dependencies here --> | |
<dependency> | |
<groupId>com.bugsense.trace</groupId> | |
<artifactId>bugsense</artifactId> | |
<version>3.2</version> | |
</dependency> |
This file contains 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
* Set Last Action */ | |
public App() | |
{ | |
// Global handler for uncaught exceptions. | |
BugSenseHandler.Instance.Init(this, "YOUR_API_KEY"); | |
BugSenseHandler.SetLastBreath(MyMethod); | |
// ...do more stuff... | |
} | |
This file contains 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
public class MyGame extends Activity implements ExceptionCallback { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
//Init BugSense | |
BugSenseHandler.initAndStartSession(this, APIKEY); | |
//Set the exception callback | |
BugSenseHandler.setExceptionCallback(this); |
This file contains 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
BugSenseHandler.setExceptionCallback(this); |
This file contains 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
@Override | |
public void lastBreath() { | |
//do or save stuff here | |
} |
This file contains 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
public class MainActivity extends Activity implements ExceptionCallback { | |
} |
This file contains 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
/* | |
* File: sample_uuid.c | |
* | |
* Unique User ID (UUID) entropy-based generator with 6 DOF | |
* by D. G. Kakolyris - dgk@bugsense.com | |
* 2012-05-11 | |
* | |
* C (on Linux) sample implementation [requires glibc2 or higher] | |
*/ |
This file contains 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
"settings" : { | |
"analysis" : { | |
"analyzer" : { | |
"msg_search_analyzer" : { | |
"tokenizer" : "keyword", | |
"filter" : ["lowercase"] | |
}, | |
"msg_index_analyzer" : { | |
"tokenizer" : "keyword", |
This file contains 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
"properties" : { | |
"message" : {"type" : "string", "search_analyzer" : "msg_search_analyzer", "index_analyzer" : "msg_index_analyzer"}, | |
"file" : {"type" : "string", "analyzer" : "simple"}, | |
"api-key": {"type" : "string", "index" : "not_analyzed"}, | |
... | |
"osver" : {"type" : "string", "index" : "not_analyzed"}, | |
"customdata" : {"type" : "string", "analyzer" : "simple"}, | |
"updated" : {"type":"date", "format":"date"} | |
} | |