-
Notifications
You must be signed in to change notification settings - Fork 2
Log4po
Logs out all objects that have been passed to it ex: log4po.log("abc",{test={"hi"},"hi"})
Logs out all strings that were passed to it in red ex: log4po.error("Error: abc", "asfosfaiko")
Logs out text component or a list of text components ex: log4po.textComponentLog(textComponent)
Logs out a list of text components ex: log4po.textComponentLog({textComponent1,textComponent2,textComponent3})
Returns a string from all of the text components in the text component list that was given to the function ex: print(log4po.textComponentListToString({textComponent1,textComponent2,textComponent3})) textComponent1ContentstextComponent2ContentstextComponent3Contents
Returns a text component with the data passed to the function ex: log4po.textComponentLog(log4po.newTextComponent("test",0x000000,0xffffff)) test
Returns a text component list with syntax highlighting and basic formatting of a lua table which can be passed to log4po.textComponentLog to print them to the screen log4po.log uses this to print tables ex: log4po.textComponentLog(log4po.tableToTextComponentList({test={"hi"},"hi"})) {[1] = "hi", ["test"] = {[1] = "hi"}} I don't think its possible to have colored text in github markdown but if it is then just complain with an issue (just not images)
- findByThread
- isProcess
- new
- load
- getIdlePercentage
- getAvgIdleTime
- getAvgIdlePercentage
- list
- log
- textComponentLog
- textComponentListToString
- newTextComponent
- tableToTextComponentList