Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
In the Custom interface, logs overflow from the page. For example, I want to reflect only the last 5 logs. Does anyone know how I can achieve this?
Solution for people who may have a similar problem:
" $('#Logs .log-line').slice(13).remove(); "
By default it says slice(500), adjust this number according to your needs. 13 was enough for me.
I am adding visuals to help someone with this issue. prepend to --- > append
image.png
@Fox said in How to color logs?:
log_html("<span style='color:yellow'>Test log</span>")
hello can you help me? what if I want to make the text in the center position log_html("<span style='color:yellow'>Test log</span>")
Untitled.png
Image didn't display. If anyone knows how to get the IP info from here, please let us know
@rakilo edc45012-11bb-45fb-93df-1016a323d409-image.png
74681ed8-0244-44fc-9cec-cd67a928c2ed-image.png