All Projects → huangdali → ELog

huangdali / ELog

Licence: other
ELog----日志打印工具,带定位功能

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to ELog

Logging Helpers
Basic template helpers for printing messages out to the console. Useful for debugging context in templates. Should work with any template engine.
Stars: ✭ 5 (-70.59%)
Mutual labels:  log, error
mongoose-morgan
An npm package for saving morgan log inside MongoDB
Stars: ✭ 14 (-17.65%)
Mutual labels:  log, error
fast log
Rust async log High-performance asynchronous logging
Stars: ✭ 104 (+511.76%)
Mutual labels:  log
GoogleCloudLogging
Swift (Darwin) library for logging application events in Google Cloud.
Stars: ✭ 24 (+41.18%)
Mutual labels:  log
axios-curlirize
axios plugin converting requests to cURL commands, saving and logging them.
Stars: ✭ 152 (+794.12%)
Mutual labels:  log
tailor
Tailor, the library for tailing logs under logrotate, written in go.
Stars: ✭ 35 (+105.88%)
Mutual labels:  log
apollo-log
A logging extension for the Apollo GraphQL Server
Stars: ✭ 64 (+276.47%)
Mutual labels:  log
slack-backup
Make copy of slack converstaions
Stars: ✭ 15 (-11.76%)
Mutual labels:  log
SpringBoot-Examples
Spring boot 2.X version tutorial,Integrate various middleware to facilitate quick reference and use
Stars: ✭ 23 (+35.29%)
Mutual labels:  log
l
Cross-platform html/io [L]ogger with simple API.
Stars: ✭ 26 (+52.94%)
Mutual labels:  log
addon-log-viewer
Log Viewer - Home Assistant Community Add-ons
Stars: ✭ 37 (+117.65%)
Mutual labels:  log
app-application-logger
A small standalone Windows application to log the applications one is using
Stars: ✭ 13 (-23.53%)
Mutual labels:  log
aushape
A library and a tool for converting audit logs to XML and JSON
Stars: ✭ 37 (+117.65%)
Mutual labels:  log
think-log-viewer
基于 Thinkphp5 开发的日志查看扩展包。
Stars: ✭ 21 (+23.53%)
Mutual labels:  log
laravel-epilog
🐈 IP, referer, user ID and more in Laravel logs
Stars: ✭ 25 (+47.06%)
Mutual labels:  log
kubelogs
Interactively dump logs from multiple Kubernetes containers.
Stars: ✭ 15 (-11.76%)
Mutual labels:  log
log
A simple to use log system, minimalist but with features for debugging and differentiation of messages
Stars: ✭ 21 (+23.53%)
Mutual labels:  log
ardupilog
A ardupilot log to MATLAB converter
Stars: ✭ 26 (+52.94%)
Mutual labels:  log
lwlog
A lightweight header only logging library for C
Stars: ✭ 46 (+170.59%)
Mutual labels:  log
audit-log
📑 Create audit logs into the database for user behaviors, including a web UI to query logs.
Stars: ✭ 135 (+694.12%)
Mutual labels:  log

ELog

E级别错误日志打印工具

带定位功能

  • 打印任何类型(Object类型)的对象
  • 输出调用处类型名、方法名、行
  • 点击可追踪到调用处
  • 可设置tag(方便过滤)
  • 可设置开关(是否打印)
  • 可打印日志信息到sdcard中

导入

方法一(JCenter)

Add the dependency

dependencies {
	        compile 'com.hdl:elog:v2.0.2'
	}

方法二(JitPack方式)

Step 1. Add it in your root build.gradle at the end of repositories:

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Step 2. Add the dependency

dependencies {
	        compile 'com.github.huangdali:ELog:v2.0.2'
	}

用法

    ELog.e("我是最简答用法");
    ELog.e("tag","带tag用法");
    ELog.file("mylog.txt","我是打印的具体内容");//此时会在sdcard/ELog目录下生成mylog.txt文件
    ELog.setIsDebug(false);//关闭日志打印,默认为true

打印日志到文件

此时会在sdcard/ELog目录下生成{yourfilename}.txt文件

使用演示

历史版本

  • 2.0.2

【修复】tag失效

  • 2.0.1

正式版发布

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].