Adding log.gd
This commit is contained in:
parent
eb32d6614e
commit
4522259397
547 changed files with 46844 additions and 0 deletions
14
addons/log/plugin.cfg
Normal file
14
addons/log/plugin.cfg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[plugin]
|
||||
|
||||
name="Log.gd"
|
||||
description="A pretty-printing debug logger.
|
||||
|
||||
Log.pr(\"some str\", some_object)
|
||||
|
||||
- Colorizes printed data based on datatype
|
||||
- Handles nested data structures (Arrays and Dictionaries)
|
||||
- Prefixes logs with the callsite's source file
|
||||
- Opt-in to pretty printing via duck-typing (implement a `to_printable()` method on the object)"
|
||||
author="Russell Matney"
|
||||
version="v0.0.5"
|
||||
script="plugin.gd"
|
||||
Loading…
Add table
Add a link
Reference in a new issue