Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/inkapplications/kimchi

🥬 Kotlin Multiplatform Logging and Analytics
https://github.com/inkapplications/kimchi

android javascript jvm kotlin multiplatform

Last synced: 2 months ago
JSON representation

🥬 Kotlin Multiplatform Logging and Analytics

Awesome Lists containing this project

README

        

Kimchi
======

Kimchi is a multiplatform logging and analytics tool written in Kotlin.

## Installation

Published to Maven Central

### Maven Coordinates

`com.inkapplications.kimchi:core`

## Logging

Start logging by adding a writer and sending logs:

```kotlin
fun main() {
// Add one or more log writers:
Kimchi.addLog(defaultWriter)

// Send Logs:
Kimchi.info("Hello World")
}
```

## Analytics

Analytics is as easy as logging!
Just like the logger, just add a writer and start tracking events:

```kotlin
fun main() {
// Add one or more analytics writers:
Kimchi.addAnalytics(KimchiLoggerAnalytics) // send analytics events to the logger.

// Send Analytics Events:
Kimchi.trackEvent("Hello Analytics!")
}
```

## Documentation

For more examples and documentation please see [the website](https://kimchi.inkapplications.com)