Edit of asset "Log.gd, a GDScript pretty-printer" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Log.gd, a GDScript pretty-printer | |
Description |
Log.gd provides alternatives to `print(...)` that colorizes the output and prepends a source file and line-number based on the call-site. - `Log.pr(...)` - pretty print args in one line - `Log.prn(...)` - the same, but with newlines and tabs when printing Arrays/Dictionaries - `Log.warn(...)` - pretty-print AND push a warning via `push_warning` - `Log.err(...)` - pretty-print AND push a error via `push_error` This makes your printed output is much more readable! - You can write a `func to_pretty() -> Variant` on any object to customize the printed data. - You can also specify your own color theme via the `LogColorTheme` custom resource. Full docs here: https://russmatney.github.io/log.gd/#/ |
|
Category | Tools | |
License | MIT | |
Repository Provider | GitHub | |
Repository Url | https://github.com/russmatney/log.gd | |
Issues Url | https://github.com/russmatney/log.gd/issues | |
Godot version | Godot 4.1 | |
Version String | v0.0.9 | v0.0.6 |
Download Commit | b3f3e45fa17740c38a2c973d756f66b16e10e0a7 | 91bf5d7e7a32b4ae09d097273fccb87cd5e366dc |
Download Url (Computed) | https://github.com/russmatney/log.gd/archive/b3f3e45fa17740c38a2c973d756f66b16e10e0a7.zip | https://github.com/russmatney/log.gd/archive/91bf5d7e7a32b4ae09d097273fccb87cd5e366dc.zip |
Icon Url |
https://raw.githubusercontent.com/russmatney/log.gd/main/docs/assets/Log_logo_4x.png
![]() |