Game dev
Saved & recent

Logging

Related terms: log level, console, diagnostic output, debugger

Recording messages while the game runs so you can inspect what happened afterward. Useful messages include the time, system, object identifier and values that explain a decision.

Levels such as debug, info, warning and error help filter the output. Log state changes and failures with enough context to connect events. Printing every frame can flood the log and affect performance, hiding the useful evidence.

Further reading
Godot: Logging
E-17 T-04 blocked route time entity system level message 12:04.120 E-17 spawn INFO Entered room 12:04.180 E-17 AI INFO Target T-04 selected 12:04.203 E-17 navigation WARN No route to T-04
The log links E-17’s spawn, choice of target T-04, and pathfinding failure. The entity identifier connects the records across systems.

View in the full Game dev collection