@@ -72,10 +72,6 @@ public static function display($output) {
7272
7373 $ class = '' ;
7474 foreach ($ output ['logs ' ]['console ' ]['messages ' ] as $ log ) {
75- if (!isset ($ log ['type ' ]) || $ log ['type ' ] == 'query ' ) {
76- continue ;
77- }
78-
7975 echo '<tr class="log- ' . $ log ['type ' ] . '"><td class="type"> ' . $ log ['type ' ] . '</td><td class=" ' . $ class . '"> ' ;
8076
8177 if ($ log ['type ' ] == 'log ' ) {
@@ -110,9 +106,9 @@ public static function display($output) {
110106 echo '<table class="main" cellspacing="0"> ' ;
111107
112108 $ class = '' ;
113- foreach ($ output ['logs ' ]['console ' ] as $ log ) {
109+ foreach ($ output ['logs ' ]['console ' ][ ' messages ' ] as $ log ) {
114110 if (isset ($ log ['type ' ]) && $ log ['type ' ] == 'speed ' ) {
115- echo '<tr class="log- ' . $ log [ ' type ' ] . ' "><td class=" ' . $ class . '"> ' ;
111+ echo '<tr class="log-speed "><td class=" ' . $ class . '"> ' ;
116112 echo '<div><pre> ' . $ log ['data ' ] . '</pre> <em> ' . $ log ['name ' ] . '</em></div> ' ;
117113 echo '</td></tr> ' ;
118114 $ class = ($ class == '' ) ? 'alt ' : '' ;
@@ -220,9 +216,9 @@ public static function display($output) {
220216 echo '<table class="main" cellspacing="0"> ' ;
221217
222218 $ class = '' ;
223- foreach ($ output ['logs ' ]['console ' ] as $ log ) {
219+ foreach ($ output ['logs ' ]['console ' ][ ' messages ' ] as $ log ) {
224220 if (isset ($ log ['type ' ]) && $ log ['type ' ] == 'memory ' ) {
225- echo '<tr class="log- ' . $ log [ ' type ' ] . ' "> ' ;
221+ echo '<tr class="log-message "> ' ;
226222 echo '<td class=" ' . $ class . '"><b> ' . $ log ['data ' ] . '</b> <em> ' . $ log ['dataType ' ] . '</em>: ' . $ log ['name ' ] . '</td> ' ;
227223 echo '</tr> ' ;
228224 $ class = ($ class == '' ) ? 'alt ' : '' ;
0 commit comments