Skip to content

brudaswen/android-logcat

Repository files navigation

Android Logcat Parser

Maven Central Snapshot CI Status Codecov License

Library to easily use Kotlin Serialization to serialize/parse CSV.

All types of record classes are supported (primitives, classes, enums, nested classes, ...). However, CSV serialization works best if the column number if fixed. So, collections (lists, sets, maps) and open classes should be avoided.

Gradle Dependencies

// Plain Logcat Core (parser)
implementation("de.brudaswen.android.logcat:logcat-core:1.0.0")

// Android Logcat Database (Room database and import service)
implementation("de.brudaswen.android.logcat:logcat-database:1.0.0")

// Android Logcat Export (export database to txt file)
implementation("de.brudaswen.android.logcat:logcat-export:1.0.0")

// Android Logcat CSV Export (csv export extension)
implementation("de.brudaswen.android.logcat:logcat-export:1.0.0")

Usage

Core (Parser)

Database and Import

Export

CSV Export

License

Copyright 2020 Sven Obser

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.