phoneapp/phoneuiutils/src/cphoneLogger.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 51 f39ed5e045e0
child 62 5266b1f337bd
--- a/phoneapp/phoneuiutils/src/cphoneLogger.cpp	Tue Feb 02 00:10:04 2010 +0200
+++ b/phoneapp/phoneuiutils/src/cphoneLogger.cpp	Fri Mar 19 09:28:42 2010 +0200
@@ -64,7 +64,7 @@
 CPhoneLogger::~CPhoneLogger()
     {
 #if (PHONEUI_LOGGING_OUTPUT == RDEBUG_LOGGING || PHONEUI_LOGGING_OUTPUT == FILE_LOGGING)
-	iPool.Close();
+    iPool.Close();
 #endif
     }
 
@@ -77,7 +77,7 @@
     TPhoneUILoggingLevel aLevel, 
     TPhoneUILoggingComponent aLoggingComponent )
     {
-		__ASSERT_DEBUG( aLoggingComponent < iLogLevelArray.Count(),
+        __ASSERT_DEBUG( aLoggingComponent < iLogLevelArray.Count(),
         Panic( EPhoneUtilsIndexOutOfBounds ) );
         
     return ( aLevel <= iLogLevelArray[aLoggingComponent] );
@@ -500,36 +500,36 @@
     iLoggingComponent = aLoggingComponent;
     iString = aString;
     TBuf<KMaxLogLineLength> str;
-	switch( iLoggingComponent )
-		{
-		case EPhoneControl:
-			str.Append( KPhoneUIControl );
-			break;
-		
-		case EPhonePhoneapp:
-			str.Append( KPhoneUI );
-			break;
-			
-		case EPhoneUIView:
-			str.Append( KPhoneUIView );
-			break;
-			
-		case EPhoneUIStates:
-			str.Append( KPhoneUIStates );
-			break;
-			
-		case EPhoneUIUtils:
-			str.Append( KPhoneUIUtils );
-			break;
+    switch( iLoggingComponent )
+        {
+        case EPhoneControl:
+            str.Append( KPhoneUIControl );
+            break;
+        
+        case EPhonePhoneapp:
+            str.Append( KPhoneUI );
+            break;
+            
+        case EPhoneUIView:
+            str.Append( KPhoneUIView );
+            break;
+            
+        case EPhoneUIStates:
+            str.Append( KPhoneUIStates );
+            break;
+            
+        case EPhoneUIUtils:
+            str.Append( KPhoneUIUtils );
+            break;
 
-		case EPhoneMediatorCenter:
-			str.Append( KPhoneMediatorCenter );
-			break;
-						
-		default:
-			break;
-		}
-		
+        case EPhoneMediatorCenter:
+            str.Append( KPhoneMediatorCenter );
+            break;
+                        
+        default:
+            break;
+        }
+        
     str.Append( iString );
     str.Append( KLessThan );
     
@@ -545,35 +545,35 @@
 EXPORT_C CPhoneMethodLogger::~CPhoneMethodLogger()
     {
     TBuf<KMaxLogLineLength> str;
-	switch( iLoggingComponent )
-		{
-		case EPhoneControl:
-			str.Append( KPhoneUIControl );
-			break;
-		
-		case EPhonePhoneapp:
-			str.Append( KPhoneUI );
-			break;
-			
-		case EPhoneUIView:
-			str.Append( KPhoneUIView );
-			break;
-			
-		case EPhoneUIStates:
-			str.Append( KPhoneUIStates );
-			break;
-			
-		case EPhoneUIUtils:
-			str.Append( KPhoneUIUtils );
-			break;
+    switch( iLoggingComponent )
+        {
+        case EPhoneControl:
+            str.Append( KPhoneUIControl );
+            break;
+        
+        case EPhonePhoneapp:
+            str.Append( KPhoneUI );
+            break;
+            
+        case EPhoneUIView:
+            str.Append( KPhoneUIView );
+            break;
+            
+        case EPhoneUIStates:
+            str.Append( KPhoneUIStates );
+            break;
+            
+        case EPhoneUIUtils:
+            str.Append( KPhoneUIUtils );
+            break;
 
-		case EPhoneMediatorCenter:
-			str.Append( KPhoneMediatorCenter );
-			break;
-			
-		default:
-			break;
-		}
+        case EPhoneMediatorCenter:
+            str.Append( KPhoneMediatorCenter );
+            break;
+            
+        default:
+            break;
+        }
     str.Append( iString );
     str.Append( KGreaterThan );