Debug function
TailsLib providing Debug methods to log important data.
Setup
First of all look to the config and enable debug, console logging, make comfort debug format for you and rename all prefixes if needed.
Debug section in config:
Using Debug
Debug methods are all static. They are using stack trace information and providing it to the logs.
You can also send message to player with that debug message.
Usage:
Why should i use it?
You can forget about logging thing into server console or forget about removing those debug messages from code. Just turn off debug messages in TailsLib config.
Also if you don't want to receive debug messages you can use /tlib debug false
to stop recieving debug messages.
Last updated
Was this helpful?