Overview
Thelogger global provides formatted logging functions for debugging and monitoring your scripts. All logging uses the fmt library for powerful string formatting.
Log Levels
GTProxy supports four log levels:Log informational messages (default level)
Log debug information (only visible in debug builds)
Log warning messages
Log error messages
Formatting
All logger functions support fmt-style formatting using{} placeholders:
Basic Formatting
Multiple Arguments
Mixed Types
Complex Data
Examples
Event Logging
Packet Debugging
Command Feedback
Error Handling
Scheduler Logging
Best Practices
See Also
Events API
Use logger with event handlers
Commands API
Log command execution