1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-25 01:24:23 +00:00

Create Log, with logging utilities

This commit is contained in:
Steffo 2024-04-13 23:25:47 +02:00
parent df683f3141
commit 9550f690dc
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

10
log.gd Normal file
View file

@ -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])