<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/log---a-drop-in-replacement-for-android-log-class-lh5dmwgda" -->

---
title: log - a drop-in replacement for android Log class
description: An Android developer introduces trikita.log, a lightweight drop-in replacement for the android.util.Log class. It preserves the same import path for easy...
canonical: https://daily.dev/posts/log---a-drop-in-replacement-for-android-log-class-lh5dmwgda
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: log - a drop-in replacement for android Log class | daily.dev
og:description: An Android developer introduces trikita.log, a lightweight drop-in replacement for the android.util.Log class. It preserves the same import path for easy...
og:url: https://daily.dev/posts/log---a-drop-in-replacement-for-android-log-class-lh5dmwgda
og:image: https://api.daily.dev/og/posts/Lh5dMWgDA.png
og:image:alt: log - a drop-in replacement for android Log class
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# log - a drop-in replacement for android Log class

**[zserge's blog](https://daily.dev/sources/zserge)** · 4 min read · 0 upvotes · 0 comments

## Summary

An Android developer introduces trikita.log, a lightweight drop-in replacement for the android.util.Log class. It preserves the same import path for easy migration, adds configurable log levels, supports switching output between Android Log and System.out.println for JVM compatibility, and allows logging multiple comma-separated values or format strings without manual concatenation. The author compares it favorably to Square's Timber and to using ProGuard for stripping logs, and gives setup instructions via Gradle and Android Studio's find-and-replace.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://zserge.com/posts/log>

## Similar posts on daily.dev

- [Powering Up Debugging Without AI](https://daily.dev/posts/powering-up-debugging-without-ai-jkrc6a8ym) · ProAndroidDev · 2 upvotes · 0 comments
- [I Wanted to See What My Android Was Thinking While It Woke Up](https://daily.dev/posts/i-wanted-to-see-what-my-android-was-thinking-while-it-woke-up-kemystfvl) · Medium · 0 upvotes · 0 comments
- [Println Debugging Done Right](https://daily.dev/posts/println-debugging-done-right-i86qdvzpv) · JetBrains · 18 upvotes · 3 comments
- [Classic WTF: Fork and Log](https://daily.dev/posts/classic-wtf-fork-and-log-pqeifsvrs) · The Daily WTF · 0 upvotes · 0 comments

---

Tags: [#java](https://daily.dev/tags/java), [#android](https://daily.dev/tags/android), [#logging](https://daily.dev/tags/logging)

[View this post on daily.dev](https://daily.dev/posts/log---a-drop-in-replacement-for-android-log-class-lh5dmwgda)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"log - a drop-in replacement for android Log class","url":"https://daily.dev/posts/log---a-drop-in-replacement-for-android-log-class-lh5dmwgda","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/log---a-drop-in-replacement-for-android-log-class-lh5dmwgda"},"datePublished":"2026-08-23T10:20:20.771Z","dateModified":"2026-08-23T10:21:36.417Z","description":"An Android developer introduces trikita.log, a lightweight drop-in replacement for the android.util.Log class. It preserves the same import path for easy...","image":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","thumbnailUrl":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","isAccessibleForFree":true,"articleSection":"zserge's blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"zserge's blog","logo":"https://media.daily.dev/image/upload/s--KQnFBOIT--/f_auto,q_auto/v1787480407/logos/zserge","url":"https://daily.dev/sources/zserge"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/log---a-drop-in-replacement-for-android-log-class-lh5dmwgda","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"java,android,logging","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"zserge's blog","item":"https://daily.dev/sources/zserge"},{"@type":"ListItem","position":3,"name":"log - a drop-in replacement for android Log class"}]}
```

