mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-25 09:34:24 +00:00
Create Log
, with logging utilities
This commit is contained in:
parent
df683f3141
commit
9550f690dc
1 changed files with 10 additions and 0 deletions
10
log.gd
Normal file
10
log.gd
Normal 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])
|
Loading…
Reference in a new issue