Logging
Hitting f6 in Rocket League with BakkesMod running opens the console. You can log to this with a helpful template function, LOG()
.
LOG uses a really smart formatting library to make your life easier called fmt
Here’s an example. Simply put, it replaces any {}
in the string with whatever arguments you put after
|
|
There’s one tiny caveat. Make sure that you only use LOG after the line _globalCvarManager = cvarManager;
is run in onLoad(), as it depends on _globalCvarManager
. You can use it immediately after that line.
Check out fmt docs here for more features
Written by ubelhj