/[Apache-SVN]
ViewVC logotype

Revision 1379731


Jump to revision: Previous Next
Author: ihabunek
Date: Sat Sep 1 10:06:29 2012 UTC (11 years, 8 months ago)
Changed paths: 4
Log Message:
LoggerLoggingEvent: Replaced getTime() with getRelativeTime().

The new method, apart from having a better descriptive name, does not perform unnecessary number formatting, and multiplication by 1000 which getTime() does so it's faster. Marked getTime() as deprecated.

Changed paths

Path Details
Directorylogging/log4php/trunk/src/main/php/LoggerLoggingEvent.php modified , text changed
Directorylogging/log4php/trunk/src/main/php/layouts/LoggerLayoutHtml.php modified , text changed
Directorylogging/log4php/trunk/src/main/php/pattern/LoggerPatternConverterRelative.php modified , text changed
Directorylogging/log4php/trunk/src/test/php/layouts/LoggerLayoutHtmlTest.php modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26