Why Nostr?What is Njump?
Tristan Brice Velloza Kildaire
npub16c2…xaj2
2024-04-14 10:55:30

Tristan Brice Velloza Kildaire on Nostr: Just merged in the improved logging for TLang --- ## Purpose ✍️ The current ...

Just merged in the improved logging for TLang

---

## Purpose ✍️

The current logging mechanism is not as nice as it could be. It doesn't show line information and so forth.

Also I would probably want to distinguish between logs for debug build and those that actually are for user usage.

So a custom `MessageTransform` would be nice but that means migrating to `dlog`.

## Todo 🗒️

- [x] Switch over from `gprintln` to `DEBUG`, `INFO`, `ERROR` and `WARNING`
- [x] Test
- [x] Decide on the logging style to use
- [ ] ~~Close logger when done~~
* **NOTE**: This might require a `dlog` _and_ `gogga` update

---

*PR*: https://deavmi.assigned.network/git/tlang/tlang/issues/170

---

#devstr #tlang
Author Public Key
npub16c2fsg7fp3yxte9ugd9yhcdpa68h924asv5d6pvm5nc37a3nkzmqd2xaj2