Log.gd, a GDScript pretty-printer

by russmatney

38

Log.gd, a Godot pretty printer

Available on the Godot Asset Library and Github.

I gave a Lightning talk about this addon at Godot Con Boston! Here are the slides. Video link to come soon!

Log.gd provides a drop-in replacement for GDScript's print(...) function.

It colors the output based on the value passed in, and adds a prefix based on the call-site's file and line number.

Dino output logs (light theme)

Dino output logs (dark theme)

This makes Godot's Output buffer much more readable! And now, I can't live without it :eyeroll:

TLDR

  • Log.pr(...) - print(...) replacement (also adds spaces between args)
  • Log.prn(...) - the same, but include newlines + tabs when printing arrays/dictionaries

Version

v0.0.7

Engine

4.1

Category

Tools

Download

Versionv0.0.7
Download

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author