{"repo":"mjfryc/mjaron-tinyloki-java","free":true,"listed":false,"github":"https://github.com/mjfryc/mjaron-tinyloki-java","clone":"git clone https://github.com/mjfryc/mjaron-tinyloki-java.git","description":"Tiny Grafana Loki client (log sender) written in pure Java 1.8 without any dependencies.","language":"Java","stars":18,"topics":["loki","grafana","java","java-8","java8","android-library","android","logging","logger","grafana-loki"],"license":"MIT","category":"mobile-apps","readme_excerpt":"mjaron-tinyloki-java Building Code quality Unit tests Tiny Grafana Loki client (log sender) written in pure Java 1.8 without any external dependencies. One of Grafana Loki third-party clients mentioned in documentation. It is customizable and easy to integrate but is not optimized for performance. See other reliable clients mentioned in documentation. Implements JSON variant of Loki API Works with Android and Java SE Thread safe May added to java.util.logging as a log Handler (and then may be called from SLF4J using slf4j-jdk14 provider). Examples See ./integration-test-server/README.md to start the Grafana Loki server collecting the logs from examples. See IntegrationTest.java to see more examples. Gradle: implementation 'io.github.mjfryc:mjaron-tinyloki-java:1.1.6' Short example Verbose example SLF4J with java.util.logging example Integration Maven Central Maven Central page, Maven Central repository URL GitHub Packages Click the Packages section on the right. Download directly 1. Click the Packages section on the right. 2. Find and download jar package from files list to e.g. your project root/libs dir. 3. Add this jar to project dependencies in build.gradle, e.g: Features description Structured metadata The structured metadata has been enabled by default in Grafana Loki 3.0.0. To put structured metadata to the log line, add it as the last argument of logging method. Preserve duplicated logs When sending two same logs in same time, the Loki server ignores the second one: T","default_branch":null,"files":null,"tree":[],"storefront":"/r/mjfryc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mjfryc/mjaron-tinyloki-java/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}