package com.qimai.android.tools

import android.util.Log

/**
 * <pre>
 *     author : leiwang
 *     e-mail : xxx@xx
 *     time   : 2021/08/06
 *     desc   :
 *     version: 1.0
 * </pre>
 */
/***
 *   扩展函数，返回当前类为TAG的日志
 * @receiver Any
 * @param msg String  msg  任意类型
 * @return Int
 */
fun Any.d(msg:Any) = run { Log.d(this.javaClass.canonicalName,msg.toString()) }

fun Any.e(msg:Any) = run { Log.e(this.javaClass.canonicalName,msg.toString()) }
