]> git.openstreetmap.org Git - nominatim.git/commitdiff
add timestamp to debug SQL output
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 18 Feb 2023 08:49:30 +0000 (09:49 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 18 Feb 2023 08:49:30 +0000 (09:49 +0100)
lib-php/DebugHtml.php

index 0edc081ac43a66f4da025b15c29b03621b93dfec..5d12be678e4ac5ca95f981a63d067944ef6510a0 100644 (file)
@@ -135,7 +135,7 @@ class Debug
 
     public static function printSQL($sSQL)
     {
-        echo '<p><tt><font color="#aaa">'.$sSQL.'</font></tt></p>'."\n";
+        echo '<p><tt><b>'.date('c').'</b> <font color="#aaa">'.$sSQL.'</font></tt></p>'."\n";
     }
 
     private static function outputVar($mVar, $sPreNL)