deviceencryption/common/DevEncLog.cpp
changeset 0 6a9f87576119
equal deleted inserted replaced
-1:000000000000 0:6a9f87576119
       
     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 "DevEncLog.h"
       
    19 #include <flogger.h>
       
    20 
       
    21 #if defined( _DEBUG ) && defined ( DEVENC_LOG )
       
    22 
       
    23 _LIT( KDevEncLogDir, "DevEnc");
       
    24 _LIT( KDevEncLogFile, "DevEnc.log");
       
    25 
       
    26 void CFileLog::Printf( TRefByValue<const TDesC> aFmt, ... )
       
    27 	{
       
    28 	VA_LIST list;
       
    29 	VA_START( list, aFmt );
       
    30 	RFileLogger::WriteFormat( KDevEncLogDir,
       
    31                               KDevEncLogFile,
       
    32 	                          EFileLoggingModeAppend,
       
    33 	                          aFmt,
       
    34 	                          list );
       
    35 	}
       
    36 
       
    37 #endif
       
    38 
       
    39 // End of File