equal
  deleted
  inserted
  replaced
  
    
    
|         |      1 /* | 
|         |      2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). | 
|         |      3 * All rights reserved. | 
|         |      4 * This component and the accompanying materials are made available | 
|         |      5 * under the terms of "Eclipse Public License v1.0"" | 
|         |      6 * which accompanies this distribution, and is available | 
|         |      7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". | 
|         |      8 * | 
|         |      9 * Initial Contributors: | 
|         |     10 * Nokia Corporation - initial contribution. | 
|         |     11 * | 
|         |     12 * Contributors: | 
|         |     13 * | 
|         |     14 * Description:  Implementation of CFileLog. | 
|         |     15 * | 
|         |     16 */ | 
|         |     17  | 
|         |     18 #include "DevEncUiLog.h" | 
|         |     19 #include <flogger.h> | 
|         |     20  | 
|         |     21 #if defined( _DEBUG ) && defined ( DEVENCUI_LOG ) | 
|         |     22  | 
|         |     23 _LIT( KDevEncUiLogDir, "DevEnc"); | 
|         |     24 _LIT( KDevEncUiLogFile, "DevEncUi.log"); | 
|         |     25  | 
|         |     26 void CFileLog::Printf( TRefByValue<const TDesC> aFmt, ... ) | 
|         |     27 	{ | 
|         |     28 	VA_LIST list; | 
|         |     29 	VA_START( list, aFmt ); | 
|         |     30 	RFileLogger::WriteFormat( KDevEncUiLogDir, | 
|         |     31                               KDevEncUiLogFile, | 
|         |     32 	                          EFileLoggingModeAppend, | 
|         |     33 	                          aFmt, | 
|         |     34 	                          list ); | 
|         |     35 	} | 
|         |     36  | 
|         |     37 #endif | 
|         |     38  | 
|         |     39 // End of File |