Zurück zum Ranking

remirobert/Dotzu

Swift

:iphone::eyes: In-App iOS Debugging Tool With Enhanced Logging, Networking Info, Crash reporting And More.

loggingloggerapplicationioscrash-reportingnetworknetwork-monitoringswiftswift3
Sterne-Wachstum
Sterne
1.8k
Forks
139
Wochenwachstum
Issues
13
1k1.5k
Feb. 2017März 2020Mai 2023Juli 2026
README

Dotzu

In-App iOS Debugging Tool With Enhanced Logging, Networking Info, Crash reporting And More.

Platform iOS Carthage compatible License MIT

Codacy Badge

The debugger tool for iOS developer. Display logs, network request, device informations, crash logs while using the app. Easy accessible with its bubble head button 🔘. Easy to integrate in any apps, to handle development or testing apps easier. First version, there is plenty of room for improvement.

👉 Objective-c example 🐢


Usage

In the AppDelegate instanciate Dotzu manager. Be careful to use Dotzu for development purpose only.

   func application(_ application: UIApplication,
   didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        #if DEBUG
            Dotzu.sharedManager.enable()
        #endif
        return true
   }

Logs

Dotzu override print, so you can use it and see your logs. otherwise, you can add level, and get more details (file, and line) about your logs. With the Logger class provided by the framework. Get new logs count on the badge, or warning/error notification on the bubble head.

print("logs")
Logger.verbose("some logs")
Logger.info("infos")
Logger.warning("warning ! ⚠️")
Logger.error("error ❌")

Network

Dotzu use URLProcotol to logg the request. Can can add the logger on a custom URLSessionConfiguration. Works with Alamofire. Works by default with URLSession.shared. You can disabled the networking logging in the settings screen. Get notified by a 🚀, when a request is launched.

//Your custom configuration
let configuration = URLSessionConfiguration.default

///Add the network logger on the configuration
Dotzu.sharedManager.addLogger(session: configuration)

//Use it:
//For Alamofire
let sessionManager = Alamofire.SessionManager(configuration: configuration)

//For URLSession
let session = URLSession(configuration: configuration)

Installation

CocoaPods

You can use CocoaPods to install Dotzu by adding it to your Podfile:

platform :ios, '9.0'
use_frameworks!
pod 'Dotzu'

For Objective-c use :

pod 'DotzuObjc'

Carthage

Add this to your Cartfile:

github "remirobert/Dotzu"

Manually

Drag the source files into your project.

Installation - Objective-c

CocoaPods

You can use CocoaPods to install DotzuObjc by adding it to your Podfile:

platform :ios, '9.0'
use_frameworks!
pod 'DotzuObjc'

Contact

License

Dotzu is released under the MIT License.

Ähnliche Repositories
gabime/spdlog

Fast C++ logging library.

C++Otherheader-onlycpp11
29.2k5.3k
grafana/loki

Like Prometheus, but for logs.

GoGo ModulesGNU Affero General Public License v3.0lokigrafana
grafana.com/oss/loki
28.6k4.1k
sirupsen/logrus

Structured, pluggable logging for Go.

GoGo ModulesMIT Licenselogginglogrus
25.7k2.3k
apache/skywalking

APM, Application Performance Monitoring System

JavaMavenApache License 2.0skywalkingobservability
skywalking.apache.org
24.9k6.6k
uber-go/zap

Blazing fast, structured, leveled logging in Go.

GoGo ModulesMIT Licensegolanglogging
pkg.go.dev/go.uber.org/zap
24.6k1.5k
Delgan/loguru

Python logging made (stupidly) simple

PythonPyPIMIT Licensepythonlogging
loguru.readthedocs.io
24k803
Seldaek/monolog

Sends your logs to files, sockets, inboxes, databases and various web services

PHPPackagistMIT Licensephplogging
seldaek.github.io/monolog/
21.4k1.9k
gofr-dev/gofr

An opinionated GoLang framework for accelerated microservice development. Built in support for databases and observability.

GoGo ModulesApache License 2.0gogolang
gofr.dev
21.1k1.8k
cool-RR/PySnooper

Never use print for debugging again

PythonPyPIMIT Licensepythondebug
16.6k960
elastic/logstash

Logstash - transport and process your logs, events, or other data

JavaMavenOtheretl-frameworkstreaming
elastic.co/products/logstash
14.9k3.5k
amir20/dozzle

Realtime log viewer for containers. Supports Docker, Swarm and K8s.

GoGo ModulesMIT Licenselogdocker
dozzle.dev
13.6k588
fluent/fluentd

Fluentd: Unified Logging Layer (project under CNCF)

RubyRubyGemsApache License 2.0fluentdlogging
fluentd.org
13.6k1.4k