Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yhkaplan/difflog


https://github.com/yhkaplan/difflog

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# ✅ DiffLog

Easy print-debugging

```swift
import DiffLog

class ViewController: UIViewController {
@DiffLog private var didLoad = false

func viewDidLoad() {
super.viewDidLoad()

didLoad = true
}
}
//- false
//+ true
```

Compound data types like structs, enum, and classes also work.

```diff
Person(
name: nil,
- email: nil,
+ email: "[email protected]",
id: UUID(D6946807-70DA-421B-B448-95D0D94B246E)
)
```