equal
deleted
inserted
replaced
180 |
180 |
181 // Append log prefix to the output buffer. |
181 // Append log prefix to the output buffer. |
182 buffer.Insert( 0, GetPrefix( aLevel ) ); |
182 buffer.Insert( 0, GetPrefix( aLevel ) ); |
183 |
183 |
184 // Log a timestamp |
184 // Log a timestamp |
185 TTimeStamp8 time; |
185 TStifLoggerTimeStamp8 time; |
186 TRAP_IGNORE( LogTimeStampL( time ) ); |
186 TRAP_IGNORE( LogTimeStampL( time ) ); |
187 buffer.Insert( 0, time ); |
187 buffer.Insert( 0, time ); |
188 |
188 |
189 // Write log. |
189 // Write log. |
190 return WriteLog(aLevel, buffer); |
190 return WriteLog(aLevel, buffer); |
225 |
225 |
226 TLogInfo buffer; |
226 TLogInfo buffer; |
227 buffer.Copy( converter ); |
227 buffer.Copy( converter ); |
228 |
228 |
229 // Log a timestamp |
229 // Log a timestamp |
230 TTimeStamp8 time; |
230 TStifLoggerTimeStamp8 time; |
231 TRAP_IGNORE( LogTimeStampL( time ) ); |
231 TRAP_IGNORE( LogTimeStampL( time ) ); |
232 buffer.Insert( 0, time ); |
232 buffer.Insert( 0, time ); |
233 |
233 |
234 // Write log. |
234 // Write log. |
235 return WriteLog(aCategory, buffer); |
235 return WriteLog(aCategory, buffer); |
499 { |
499 { |
500 iLog->Log( KHtmlHeadSection ); |
500 iLog->Log( KHtmlHeadSection ); |
501 iLog->Log( KJSSECTION ); |
501 iLog->Log( KJSSECTION ); |
502 TBuf<KSysUtilVersionTextLength> version( _L( "Version unknown!" ) ); |
502 TBuf<KSysUtilVersionTextLength> version( _L( "Version unknown!" ) ); |
503 (void) SysUtil::GetSWVersion( version ); |
503 (void) SysUtil::GetSWVersion( version ); |
504 TTimeStamp8 date; |
504 TStifLoggerTimeStamp8 date; |
505 LogTimeStampL( date, EFalse ); |
505 LogTimeStampL( date, EFalse ); |
506 TTimeStamp8 time; |
506 TStifLoggerTimeStamp8 time; |
507 LogTimeStampL( time ); |
507 LogTimeStampL( time ); |
508 TPtrC timePtr( time.Mid( 6, 13 ) ); |
508 TPtrC timePtr( time.Mid( 6, 13 ) ); |
509 iLog->Log( KHtmlStatSection, &date, &timePtr, &version ); |
509 iLog->Log( KHtmlStatSection, &date, &timePtr, &version ); |
510 } |
510 } |
511 |
511 |