Prefix all print statements with [ScriptName] by default
Print statements can often get lost after a while in a bunch of different scripts. They can be tricky to track down if you aren't diligent about adding the script name to your own prints each time. If you do an ontick print for a test one day and forget about it the next day or week - it can be a dog to track down where it is.
Perhaps this could be something that is a property that is turned on by default and it can be manually turned off if someone doesn't want it. I think most people could find this useful.
Perhaps something like below?
[Client][ScriptName]:
[Server][ScriptName]:
This would also make the filtering way more useful as you can filter for all print statements from a particular script.
Thanks for considering!
-
To add on to this idea, I'd love to have it like this;
"[Client][EntityName][ScriptName][FunctionName(if applicable)]:"
0
Please sign in to leave a comment.
Comments
1 comment