package com.jukebot.jukebot.logging

import android.util.Log
import android.widget.TextView

/**
 * Created by Ting.
 */

object Logger {

    var debugConsole: TextView? = null

    fun log(tag: String, msg: String) {
        Log.d(tag, msg)
        debugConsole?.post({
            debugConsole?.append("$tag: $msg\n")
        })
    }
}
