All Projects → pengwei1024 → Logutils

pengwei1024 / Logutils

More convenient and easy to use android Log manager

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Logutils

polog
Логирование должно быть красивым
Stars: ✭ 26 (-97.49%)
Mutual labels:  log, logger
Activity
A PHP API to log anything anywhere
Stars: ✭ 44 (-95.75%)
Mutual labels:  log, logger
ip-logger
📇 When someone clicks the link, you will receive their IP and other information via telegram.
Stars: ✭ 0 (-100%)
Mutual labels:  log, logger
Loglevelnext
A modern logging library for Node.js that provides log level mapping to the console
Stars: ✭ 33 (-96.81%)
Mutual labels:  log, logger
Objectlogger
A powerful and easy-to-use operational logging system that supports analysis of changes in object properties. 强大且易用的操作日志记录系统,支持对象属性的变化分析。
Stars: ✭ 378 (-63.48%)
Mutual labels:  log, logger
dlog
A super simple logger for Go. Supports stderr, logfiles, syslog and windows event log.
Stars: ✭ 16 (-98.45%)
Mutual labels:  log, logger
horse-logger
Middleware for access logging in HORSE
Stars: ✭ 25 (-97.58%)
Mutual labels:  log, logger
react-native-log-level
Multi level logger for React Native
Stars: ✭ 13 (-98.74%)
Mutual labels:  log, logger
Cocoadebug
iOS Debugging Tool 🚀
Stars: ✭ 3,769 (+264.15%)
Mutual labels:  log, logger
esp-logger
An Arduino library providing a minimal interface to log data on flash memory and SD cards with ESP8266 and ESP32
Stars: ✭ 40 (-96.14%)
Mutual labels:  log, logger
laravel-loggable
🎥 📽 🎞 Log your model changes in multiple ways
Stars: ✭ 58 (-94.4%)
Mutual labels:  log, logger
Laravel Log
Simple API to write logs for Laravel.
Stars: ✭ 19 (-98.16%)
Mutual labels:  log, logger
ctrace-go
Canonical OpenTracing for GoLang
Stars: ✭ 12 (-98.84%)
Mutual labels:  log, logger
Gollum
An n:m message multiplexer written in Go
Stars: ✭ 883 (-14.69%)
Mutual labels:  log, logger
debug.js
Debugger of JavaScript, by JavaScript, for JavaScript
Stars: ✭ 19 (-98.16%)
Mutual labels:  log, logger
printer
A fancy logger yet lightweight, and configurable. 🖨
Stars: ✭ 65 (-93.72%)
Mutual labels:  log, logger
spdlog setup
spdlog setup initialization via file configuration for convenience.
Stars: ✭ 68 (-93.43%)
Mutual labels:  log, logger
logt
🖥️ A colourful logger for the browser
Stars: ✭ 35 (-96.62%)
Mutual labels:  log, logger
gxlog
A concise, functional, flexible and extensible logger for go.
Stars: ✭ 65 (-93.72%)
Mutual labels:  log, logger
Eylogviewer
A simple viewer to see your app's logs on your iDevice in realtime.
Stars: ✭ 16 (-98.45%)
Mutual labels:  log, logger

LogUtils

Codecov

More convenient and easy to use android Log manager

Features

  • 支持直接打印数据集合, 如List、Set、Map、数组等
  • 全局配置log输出, 个性化设置Tag
  • 准确显示调用方法、行,快速定位日志所在文件位置
  • 支持android系统复杂对象Intent、Bundle、Message等打印
  • 提供空实现 release-no-op版本
  • 支持高性能日志写入文件(基于mmap)
  • 兼容Android Studio 3.1 日志格式

Usage

implementation 'com.apkfuns.logutils:library:1.7.5'

release-no-op版本 (debug输出日志, release空实现)

debugImplementation 'com.apkfuns.logutils:library:1.7.5'
releaseImplementation 'com.apkfuns.logutils:logutils-no-op:1.7.5'

日志写入到文件 (基于Log4a实现)

implementation 'com.apkfuns.log2file:log2file:1.3.1'


// 设置日志写文件引擎
LogUtils.getLog2FileConfig().configLogFileEngine(new LogFileEngineFactory(context));

别忘了添加写文件权限

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

Wiki

使用教程

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].