diff --git a/log.gd b/log.gd new file mode 100644 index 0000000..747d422 --- /dev/null +++ b/log.gd @@ -0,0 +1,10 @@ +class_name Log + +## Logging utilities + + +## Print to standard output. +## +## Pass self to the first parameter. +static func p(obj: Node, message: String) -> void: + print("[%s] %s" % [obj, message])