/izoh

Izoh is a lightweight logger library for Android

Primary LanguageKotlin

Izoh


📄 Izoh is a lightweight logger library for Android.


Logo

Installl

Add the dependency below into your module's build.gradle file:

dependencies {
    implementation("io.github.behzodhalil:izoh:$version")
}

Izoh

Izoh is a tool that serves as a primary log manager, facilitating the installation of loggers and printing of log messages. To begin using Izoh, you must first install an Izohher on it. If you are working on an Android project, you can easily install the AndroidIzohher, which is a straightforward logger designed for Android.

First, you need to install a logger for Android with AndroiIzohher like the below:

class IzohApp : Application() {
    override fun onCreate() {
        super.onCreate()
       
        // Install AndroidIzohher
        AndroidIzohher.install(this)
    }
}

Note: It is advisable to install the logger only once within your application class.

Now, you can easily print log messages using the following syntax:

success { "🟡 There is a success log function" }

failure { "🔴 There is a failure log function" }

debug { "🔵 There is a debug log function" }