Skip to content

Commit

Permalink
feature: additional function and update go gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
CraZyLegenD committed Jun 18, 2020
1 parent 2206a0a commit a43758d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@
/captures
.externalNativeBuild
.cxx
/.idea/codeStyles/
/.idea/
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,13 @@ object CrashyReporter {
@Throws(CrashyNotInitializedException::class)
fun getLogsAsStrings() = dumpFolder.listFiles()?.map { it.readText() }

/**
* You can use this for manually dumping log
* @throws CrashyNotInitializedException see [NOT_REGISTERED_MESSAGE]
*/
@Throws(CrashyNotInitializedException::class)
fun getLots() = dumpFolder.listFiles()?.toList()


//endregion

Expand Down

0 comments on commit a43758d

Please sign in to comment.