Create a simple and more understandable Android logs.

Related tags

Utility DebugLog
Overview

Android Weekly

DebugLog

Create a simple and more understandable Android logs.

#Why?

android.util.Log is the most usable library of the Android. But, when the app released on the market, some important information is clearly forgotten by the developer. All logs are disabled by DebugLog when the app is released.

And plus, it provides more understandable DDMS logs for developers.

#Usage

#####Traditional android.util.Log usage:

public static final String TAG = "MyApp or MyClass name";

void myFunc(){
	android.util.Log.i(TAG, "my message");
}

Generally, this logs location forgotten after first day:) if the location hasn't been defined in log message. Add LibDebugLog as a library to your project and you are good to go.

#####DebugLog usage:

void myFunc(){
	DebugLog.e("simple log from myFunc()");
}

no tags, and no any information. Just write your logs.

It shows useful data; Screenshot Screenshot

##Android Studio if you use Android Studio, all logs are disabled by DebugLog when the build variant is set 'release'

Screenshot

##Eclipse if you use Eclipse, all logs are disabled by DebugLog when the generated new signed apk.

#Add Your Project ##Gradle

repositories {
    maven {
        url "https://jitpack.io"
    }
}
dependencies {
	compile 'com.github.MustafaFerhan:DebugLog:v1.0'
}

##Maven

<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>
<dependency>
    <groupId>com.github.MustafaFerhan</groupId>
    <artifactId>DebugLog</artifactId>
    <version>v1.0</version>
</dependency>

#Contributing

Want to contribute? You are welcome!

#Licence #####The Unlicense Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

For more information, please refer to http://unlicense.org/

You might also like...
DiskCache - Simple and readable disk cache for kotlin and android applications

DiskCache Simple and readable disk cache for kotlin and android applications (with journaled lru strategy) This is a simple lru disk cache, based on t

a simple cache for android and java

ASimpleCache ASimpleCache 是一个为android制定的 轻量级的 开源缓存框架。轻量到只有一个java文件(由十几个类精简而来)。 1、它可以缓存什么东西? 普通的字符串、JsonObject、JsonArray、Bitmap、Drawable、序列化的java对象,和 b

A simple Android utils library to write any type of data into cache files and read them later.

CacheUtilsLibrary This is a simple Android utils library to write any type of data into cache files and then read them later, using Gson to serialize

A small library which will save you from writing the same intent creation code again and again for the most simple tasks

Android Intents A small library which will save you from writing the same intent creation code again and again for the most simple tasks. I found myse

✔️ Secure, simple key-value storage for Android
✔️ Secure, simple key-value storage for Android

Hawk 2.0 Secure, simple key-value storage for android Important Note This version has no backward compatibility with Hawk 1+ versions. If you still wa

A Simple Android Library for Kenyan Counties

A Simple Android Library for Kenyan Counties

A simple library for validating user input in forms using annotations.
A simple library for validating user input in forms using annotations.

ValidationKomensky for Android A simple library for validating user input in forms using annotations. Features: Validate all views at once and show fe

Ask Permission - Simple RunTime permission manager

Ask Permission https://kishanjvaghela.github.io/Ask-Permission/ Simple RunTime permission manager How to use Add url to your gradle file compile 'com.

A helper library to ease the most repetitive codes with simple reusable attributes.

ak-universal-android-helper A helper library to ease the most repetitive codes with simple reusable attributes. AKUAH can help you with many repetitiv

Comments
  • adding line number

    adding line number

    Apart from the function name, now you can also view the line number where you performed the log.

    Output Format [functionName:LineNumber] log string

    Example:

    [onCreate:19]simple log from onCreate()
    
    opened by oguya 2
  • StringBuffer?

    StringBuffer?

    It's a very well known fact, that one should not use StringBuffers. StringBuffers have a huge overhead for synchronization purposes that are not needed here. You should replace those with StringBuilders and even consider not using them at all.

    If there are no loops, a simple String a = "Hello, "+ b+ "world!" internally uses a StringBuilder by itself without you worrying about it in the first place...

    opened by Zordid 0
  • it might cause multithread problem i think..

    it might cause multithread problem i think..

    I saw that className and methodName variates is static, that means when using this class on multithread condition, it will be incorrect if there is loging too much

    opened by SR1s 3
Releases(v1.0)
Owner
mf
mf
Convert OkHttp requests into curl logs.

Ok2Curl Convert OkHttp requests into curl logs. Usage Add library to project dependencies. Library is hosted on jcenter. repositories { jcenter()

Michal Moczulski 373 Jan 1, 2023
Simple Keyboard can adjustable keyboard height for more screen space

Simple Keyboard About Features: Small size (<1MB) Adjustable keyboard height for more screen space Number row Swipe space to move pointer Delete swipe

Raimondas Rimkus 681 Dec 27, 2022
📭 Extension to Ktor’s routing system to add object oriented routing and much more. 💜

?? Ktor Routing Extensions Extension to Ktor’s routing system to add object-oriented routing and much more. ?? Why? This extension library was created

Noelware 6 Dec 28, 2022
Android Shared preference wrapper than encrypts the values of Shared Preferences. It's not bullet proof security but rather a quick win for incrementally making your android app more secure.

Secure-preferences - Deprecated Please use EncryptedSharedPreferences from androidx.security in preferenced to secure-preference. (There are no active

Scott Alexander-Bown 1.5k Dec 24, 2022
Fork of svg-android +SVN history +Maven +more

Status: Unmaintained. Discontinued. This project is no longer being developed or maintained. _ This is forked from the awesome but unmaintained: http:

David Barri 557 Dec 9, 2022
Little utilities for more pleasant immutable data in Kotlin

What can KopyKat do? Mutable copy Nested mutation Nested collections Mapping copyMap copy for sealed hierarchies copy from supertypes copy for type al

KopyKat 193 Dec 19, 2022
Android Utilities Library build in kotlin Provide user 100 of pre defined method to create advanced native android app.

Android Utilities Library build in kotlin Provide user 100 of pre defined method to create advanced native android app.

Shahid Iqbal 4 Nov 29, 2022
Small utility to create/restore encrypted backups

Quick Backup Choose some files and quickly create a complete encrypted and compressed file. Usage Clone the repository Run gradlew installShadowDist T

Leonardo Colman 5 Sep 18, 2021
Simple-Claim-Form - Android App for creating a simple dynamic form with MVVM architecture

Simple-Claim-Form Android App for creating a simple dynamic form with MVVM archi

Shubham Gangpuri 1 Aug 14, 2022
A simple and easy to use stopwatch and timer library for android

TimeIt Now with Timer support! A simple and easy to use stopwatch and timer library for android Introduction A stopwatch can be a very important widge

Yashovardhan Dhanania 35 Dec 10, 2022