Changeset 2415
- Timestamp:
- 03/24/2008 03:39:47 PM (10 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
HISTORY (modified) (1 diff)
-
framework/Util/TLogRouter.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/HISTORY
r2413 r2415 23 23 BUG: Ticket#808 - Client side validation should work for file upload. (Qiang) 24 24 BUG: Fixed a bug in TPropertyValue::ensureArray() (Qiang) 25 CHG: Ticket#819 - TLogRoute now displays GM time instead of local time (Qiang) 25 26 CHG: Changed TConditional so that the controls in its template behave like they are in its parent (Qiang) 26 27 CHG: Active Record many-to-many relationship change from self::HAS_MANY to self::MANY_TO_MANY (Wei) -
trunk/framework/Util/TLogRouter.php
r2379 r2415 278 278 protected function formatLogMessage($message,$level,$category,$time) 279 279 { 280 return @ date('M d H:i:s',$time).' ['.$this->getLevelName($level).'] ['.$category.'] '.$message."\n";280 return @gmdate('M d H:i:s',$time).' ['.$this->getLevelName($level).'] ['.$category.'] '.$message."\n"; 281 281 } 282 282 … … 916 916 { 917 917 console.log ("[Cumulated Time] [Time] [Level] [Category] [Message]"); 918 918 919 919 EOD; 920 920 921 921 return $string; 922 922 } 923 923 924 924 protected function renderMessage ($log, $info) 925 925 { … … 935 935 } 936 936 937 937 938 938 protected function renderFooter () 939 939 { … … 947 947 return $string; 948 948 } 949 949 950 950 protected function getFirebugLoggingFunction($level) 951 951 { 952 switch ($level) 952 switch ($level) 953 953 { 954 954 case TLogger::DEBUG: … … 965 965 return 'console.log'; 966 966 } 967 967 968 968 } 969 969 ?>
