Ezt írja a mysqllog.html:
<html><head><title>MySQL Plugin log</title><style>table {border: 1px solid black; border-collapse: collapse; line-height: 23px; table-layout: fixed; width: 863px;}th, td {border: 1px solid black; word-wrap: break-word;}thead {background-color: #C0C0C0;} tbody {text-align: center;} table.left1 {position: relative; left: 36px;} table.left2 {position: relative; left: 72px;} .time {width: 80px;} .func {width: 200px;} .stat {width: 75px;} .msg {width: 400px;} </style> <script> var LOG_ERROR = 1, LOG_WARNING = 2, LOG_DEBUG = 4; var FirstRun = true, IsCallbackActive = false, IsTableOpen = false, IsThreadActive = false; function StartCB(cbname) { StartTable(1, 0, cbname); } function EndCB() { EndTable(); IsCallbackActive = false; } function StartTable(iscallback, isthreaded, cbname) { if(IsTableOpen == true || isthreaded != IsThreadActive) EndTable(); if(iscallback == true) { document.write( \"<table class=left2>\" + \"<th bgcolor=#C0C0C0 >In callback \\\"\"+cbname+\"\\\"</th>\" + \"</table>\" ); } document.write(\"<table\"); if(iscallback == true || (isthreaded != IsThreadActive && isthreaded == false && IsCallbackActive == true) ) { document.write(\" class=left2\"); IsCallbackActive = true; } else if(isthreaded == true) document.write(\" class=left1\"); IsThreadActive = isthreaded; document.write(\">\"); if(FirstRun == true) { FirstRun = false; document.write(\"<thead><th class=time>Time</th><th class=func>Function</th><th class=stat>Status</th><th class=msg>Message</th></thead>\"); } document.write(\"<tbody>\"); IsTableOpen = true; } function EndTable() { document.write(\"</tbody></table>\"); IsTableOpen = false; } function Log(time, func, status, msg, isthreaded) { isthreaded = typeof isthreaded !== \'undefined\' ? isthreaded : 0; if(IsTableOpen == false || isthreaded != IsThreadActive) StartTable(false, isthreaded, \"\"); var StatColor, StatText; switch(status) { case LOG_ERROR: StatColor = \"RED\"; StatText = \"ERROR\"; break; case LOG_WARNING: StatColor = \"#FF9900\"; StatText = \"WARNING\"; break; case LOG_DEBUG: StatColor = \"#00DD00\"; StatText = \"OK\"; break; } document.write( \"<tr bgcolor=\"+StatColor+\">\" + \"<td class=time>\"+time+\"</td>\" + \"<td class=func>\"+func+\"</td>\" + \"<td class=stat>\"+StatText+\"</td>\" + \"<td class=msg>\"+msg+\"</td>\" + \"</tr>\" ); } </script></head><body bgcolor=grey> <h2>Logging started at 19:27, 23.02.2015</h2><script>
Log(\"19:27:05\",\"CMySQLConnection::Connect\",1,\"(error #2002) Can\'t connect to local MySQL server through socket \'/var/run/mysqld/mysqld.sock\' (2)\",0);
Log(\"19:27:05\",\"CMySQLConnection::Connect\",1,\"(error #2002) Can\'t connect to local MySQL server through socket \'/var/run/mysqld/mysqld.sock\' (2)\",1);
Log(\"19:27:05\",\"CMySQLConnection::Connect\",1,\"(error #2002) Can\'t connect to local MySQL server through socket \'/var/run/mysqld/mysqld.sock\' (2)\",1);
Log(\"19:27:05\",\"CMySQLConnection::Connect\",1,\"(error #2002) Can\'t connect to local MySQL server through socket \'/var/run/mysqld/mysqld.sock\' (2)\",1);
</script>