Changeset 7746 for trunk


Ignore:
Timestamp:
Apr 14, 2010, 9:19:28 AM (15 years ago)
Author:
ddboer
Message:

Changed $errorString

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/inc/LogHandler.class.php

    r7737 r7746  
    8282                }
    8383
    84                 $errorString .= ' (' . $logno . '): ' . $logstr . "\r\n\t" . 'In file "' . $logfile . '" on line "' . $logline . '"' . "\r\n";
     84                $time = date( "H:i.s m/d/y" );
     85                $errorString .= ' (' . $logno .' | '.$time .' | ): ' . $logstr . "\r\n\t" . 'In file "' . $logfile . '" on line "' . $logline . '"' . "\r\n";
    8586
    8687                if ($logno <= LOG_LEVEL_ECHO) {
    87                         // TODO: David: Make it possible to echo as comment in a KML, HTML, SQL or an other file
    8888                        echo '<!-- ' . $errorString . ' -->';
    8989                }
Note: See TracChangeset for help on using the changeset viewer.