You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[X] impl, tests for log() (duck-typing opt-in to pretty printing per object)
should be argless
[X] license
[X] create docs website
check out pandora, phantom-cam, gaea’s static site tooling
SKIP github action creating releases
[X] restore call-site module prefix
add line to docs and readme
update readme/site screenshots
include line numbers
[X] write and submit to godot asset library
[X] to_printable naming (vs to_pretty)?
[ ] Docs: ‘Example’ page
walk through the ExampleScene.gd
with individual line-by-line output screenshots
[ ] readme/docs content
preview (short-version) of docs example page
non-Log.gd-based godot printing quick hits
print, prints, printt, print_rich
print_verbose
“Don’t want to install a whole addon? Here’s a godot print helper overview”
A/B differences between Log.pr() and print()
for an object, a node, a list, a dictionary
features, with code and screenshots
pretty-printing primitives
pretty-printing arrays and dicts
opting-in to prettier/limited classes/objects
functo_printable():
{your=str(value)}
call-site prefixes
not a production log-to-file helper
but maybe that’s a future direction?
prior art
[ ] docs for public api
Log.to_pretty
`to_pretty()`, `data()`
Log.set_color_scheme(scheme) and related
[ ] readme link, docs install instructions
[ ] Example scene should have buttons for printing more things
the example outputs could also colorize and print the source code - that output might
be a fun sharable version of the tutorial (i.e. the tutorial is all printed via Log.gd)
[ ] docs full api page
[ ] call-site prefix test coverage
[ ] better public obj -> rich-string function
no more wrap it in [] nonsense
v1.0.0
[ ] list prior art (other godot asset lib loggers)
[ ] consider csharp support + implementation
[ ] configurable per-type prettyprint overrides
example: i want to impl a to_printable for PandoraEntities without subclassing it
type->to_printable opts passed in as a dictionary?
ideally written as a config of some kind
but how to read it from a static function?
maybe need to write constants to disk like pandora does?
could read/write from a res://log.gd for opts.
(this is what gd-plug does, for example)