realtimenetprots/sipfw/SIP/Logging/inc/TSIPLogger.h
changeset 0 307788aac0a8
child 55 36ea1f90a3d8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2005-2009 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:
       
    15 * Name          : TSIPLogger.h
       
    16 * Part of       : Logging
       
    17 * Version       : SIP/4.0 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef TSIPLOGGER_H
       
    29 #define TSIPLOGGER_H
       
    30 
       
    31 #include <e32std.h>
       
    32 #include <in_sock.h>
       
    33 
       
    34 class TSIPLogger
       
    35 	{
       
    36 	public:
       
    37 	
       
    38 	    inline static void Print(const TDesC& aStr);
       
    39 	    
       
    40 	    
       
    41 	    inline static void Print(const TDesC& aStr, 
       
    42 		                         const TDesC8& aMsg);
       
    43 		                         
       
    44 	    inline static void Print(const TDesC& aStr, 
       
    45 		                         const TDesC16& aMsg);		                         
       
    46 		                         	                             
       
    47 		inline static void Print(const TDesC& aStr,
       
    48 		                         TUint32 aValue);
       
    49 		
       
    50 		inline static void Print(const TDesC& aStr,
       
    51 		                         TUint32 aValue1,
       
    52 		                         TUint32 aValue2);
       
    53 		                         
       
    54 		inline static void Print(const TDesC& aStr,
       
    55                                  const TInetAddr& aAddr);
       
    56                                  
       
    57     private:   
       
    58 
       
    59 		inline static TBool LogDirExists( const TDesC& aFolderName );                                    
       
    60     };
       
    61 
       
    62 #include "TSIPLogger.inl"
       
    63 
       
    64 #endif // TSIPLOGGER_H
       
    65 
       
    66 // End of File