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.
@0str Screenshot_5.png
If you have a problem, don't hesitate to send me a message :D
@xxasaxx said in log setting help me:
@tet-vivi said in log setting help me: function log(text) { var now = new Date(); Logger.WriteHtml("<span style='color:#000000'>" thread_number() + " : " + "Bilgi" + text + "</span>", "Bilgi" + thread_number() + " : " + text + " " + now.getHours() + ": " + now.getMinutes() + ": " + now.getSeconds() ); } SyntaxError: Parse error during execution of action 2
@tet-vivi said in log setting help me:
function log(text) { var now = new Date(); Logger.WriteHtml("<span style='color:#000000'>" thread_number() + " : " + "Bilgi" + text + "</span>", "Bilgi" + thread_number() + " : " + text + " " + now.getHours() + ": " + now.getMinutes() + ": " + now.getSeconds() ); }
SyntaxError: Parse error during execution of action 2
https://community.bablosoft.com/topic/3521/лайфхаки-bas/36