{"repo":"aabolfazl/FileLogger","free":true,"listed":false,"github":"https://github.com/aabolfazl/FileLogger","clone":"git clone https://github.com/aabolfazl/FileLogger.git","description":"Coroutine-driven Android file logger with pluggable sinks (file, logcat, HTTP), MDC, JSON output, lazy lambda API, PII redaction, and a crash handler.","language":"Kotlin","stars":18,"topics":["android","kotlin","logger","android-logger","file-logger","logcat","logging","pii-redaction","crash-logging"],"license":"MIT","category":"mobile-apps","readme_excerpt":"FileLogger Coroutine-driven, sink-fan-out logging for Android. Lazy lambdas, MDC, JSON output, HTTP upload, redaction, and a crash handler — all behind a small Logger interface and a one-block fileLogger { } DSL. What's new in v2.0 - New fileLogger(path) { ... } DSL replaces Config.Builder (the old builder is still there but deprecated). - Coroutine pipeline ( LogPipeline ) replaces v1.x's ThreadQueue . Backpressure-aware channel, ordered drain, per-sink failure isolation. - Lazy logging: FileLogger.d { \"expensive: $value\" } — the lambda is invoked only when isLoggable returns true. - Mapped Diagnostic Context: Mdc.with(\"k\" to \"v\") { ... } and Mdc.withSuspending { ... } . - Pluggable sinks: FileSink , LogcatSink , HttpSink (JSON-Lines POST batches), RedactingSink . - JSON output via FormatterChoice.Json — JSON-Lines, hand-rolled (zero runtime deps). - HTTP upload sink with batching, exponential backoff + jitter, permanent-4xx fast-drop, and a NetworkPolicy gate. - PII redaction with default patterns ( EMAIL REGEX , BEARER TOKEN REGEX , CREDIT CARD REGEX , IPV4 REGEX ). - AndroidX App Startup auto-init via manifest (opt-in). - CrashHandlerInstaller chains into the platform default handler and flushes before delegating. - Optional :filelogger-okhttp artifact: an Interceptor that routes OkHttp diagnostics through FileLogger . - events: SharedFlow — subscribe and build your own viewer / mirror. Installation JitPack at the project level: Module-level dependencies: Quick start The ","default_branch":null,"files":null,"tree":[],"storefront":"/r/aabolfazl","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aabolfazl/FileLogger/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."}