Log Formatters - Grisgram/gml-raptor GitHub Wiki
raptors
log formatters are very basic, simple classes, that create the log lines for you.
These formatters are available:
Formatter | Description |
---|---|
Formatter Classes | |
RaptorSimpleFormatter | Prints only the 1-letter-log level plus the message |
RaptorFrameFormatter | Prints the current GAMEFRAME (see Utility and Helper #macros) plus the level plus the message. This is the most accurate formatter |
RaptorTimeFormatter | Prints the current_time GameMaker variable plus the logger plus the message. As more than one event can happen per millisecond, this formatter is less accurate than the FrameFormatter as you can't see, whether an event still happened in the same frame or the frame after the former log line. However, in some scenarios, a time information might be valuable, so I created this formatter |
Example lines | |
RaptorSimpleFormatter | V Hiding popup view ! Invoking onGameEnd() D Saving settings... |
RaptorFrameFormatter | 555: V Hiding popup view 555: ! Invoking onGameEnd() 555: D Saving settings... |
RaptorTimeFormatter | 82598: V Hiding popup view 82599: ! Invoking onGameEnd() 82601: D Saving settings... |
And finally, for the logger topic, see what raptor
can do for your Crash Logs.