datacommsserver/esockserver/eintsock/ss_eintsocklog.cpp
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // eintsocklog.cpp
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent 
       
    21 */
       
    22 
       
    23 #include "ss_eintsocklog.h"
       
    24 
       
    25 #ifdef __FLOG_ACTIVE
       
    26 
       
    27 __FLOG_STMT(_LIT(KEIntSockLogFolder, "esock"));
       
    28 __FLOG_STMT(_LIT(KEIntSockLogFile, "eintsock"));
       
    29 
       
    30 void Log::Printf(TRefByValue<const TDesC> aFmt,...)
       
    31 /**
       
    32 Write a multiple argument list to the log, trapping and ignoring any leave
       
    33 */
       
    34 	{
       
    35 	VA_LIST list;
       
    36 	VA_START(list,aFmt);
       
    37 	RFileLogger::WriteFormat(KEIntSockLogFolder(),KEIntSockLogFile(),EFileLoggingModeAppend,aFmt,list);
       
    38 	}
       
    39 	
       
    40 #endif // __FLOG_ACTIVE
       
    41