linklayerprotocols/pppnif/SVJCOMP/VJLOG.H
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 // Copyright (c) 1997-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 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent 
       
    19 */
       
    20 
       
    21 #if !defined(__LOG_H__)
       
    22 #define __LOG_H__
       
    23 
       
    24 #include <comms-infras/commsdebugutility.h>
       
    25 
       
    26 #ifdef _DEBUG
       
    27 #define LOG(a)		a
       
    28 #else
       
    29 #define LOG(a)
       
    30 #endif
       
    31 
       
    32 #ifdef _DEBUG
       
    33 class Log
       
    34 	{
       
    35 public:
       
    36 	static void Write(const TDesC& aDes);
       
    37 	static void Printf(TRefByValue<const TDesC> aFmt, ...);
       
    38 	};
       
    39 #endif
       
    40 #endif