extends Node
## Debug-only logging + perf counters. No-op in release builds.
##
## Use Audit.log("category", "message") instead of print() — gives us a single
## switch to silence everything before ship.

var enabled: bool = OS.is_debug_build()


func log(category: String, message: String) -> void:
	if enabled:
		print("[%s] %s" % [category, message])
