# Log **Repository Path**: mazaiting/Log ## Basic Information - **Project Name**: Log - **Description**: The simplest log print in history - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-07-19 - **Last Updated**: 2022-07-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Log The simplest log print in history # 使用 - 简单使用 在需要使用的地方直接调用 ``` L.e("mazaiting"); ``` - 设置调试 建议在Application的实现类中调用 ``` // 设置为调试,release版本将不会有日志打印 L.setDebug(BuildConfig.DEBUG) ``` - 设置调试与自定义TAG ``` // 参数一: 设置是否调试 // 参数二: 设置TAG L.setProp(BuildConfig.DEBUG, "MainActivity") ```