# elvishew/xLog

Android logger, pretty, powerful and flexible, log to everywhere, save to file, all you want is here.

Repository: https://github.com/elvishew/xLog
Canonical: https://ross.abutalabs.com/products/xlog
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android, log, logger, logcat, file, backup, clean, filter, xml, json, android-log, save, xlog
Last push: 2024-07-28T16:47:45+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3912, "days_push": 766, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3340, forks 443 (observed 2026-08-28T04:07:56.888535+00:00)

## What it is
XLog is a lightweight, powerful, and flexible logging library for Android and Java. It supports printing logs to Logcat, console, and files, with configurable formatting, filtering, and automatic JSON/XML formatting.

## Use cases
- log messages to logcat and files in an android app
- pretty-print json and xml in logs
- log collections, maps, intents, and bundles directly
- filter logs by level and tag in android
- save app logs to files with backup and cleanup
- customize log formatting and output destinations

## When to choose
- you need a flexible android logger with file output and configurable formatting
- you want automatic formatting of json, xml, and complex objects in logs
- you need log filtering, backup, and cleanup features on android

## When to avoid
- you are not developing for android or the JVM
- you need a distributed or cloud-based logging solution rather than an on-device logger

## Facets
- artifact type: library
- maturity: stable
- function: logging
- domain: android-tools, developer-tools
- platform: jvm
- tags: logcat, log-to-file, android-logging, json-xml-formatting, android

## Member repositories
- elvishew/xLog (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:56.888535+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:41:04.762679+00:00, confidence not recorded.
  - readme: https://github.com/elvishew/xLog (fetched 2026-08-28T04:07:56.888535+00:00, sha b88ccc24ad19)
- Data as of 2026-08-30T08:39:29.467469+00:00.
