mmsengine/mmscodecclient/inc/mmscodecclientlogger.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2004-2007 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 *     Logging macros.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MMSCODECCLIENTLOGGER_H
       
    22 #define MMSCODECCLIENTLOGGER_H
       
    23 
       
    24 #ifdef _DEBUG
       
    25 #include <flogger.h>
       
    26 
       
    27 // MACROS
       
    28 // Related to logging
       
    29 // Currently not used
       
    30 _LIT(KMmsCCLogFile,"MmsCodecClient.txt");
       
    31 _LIT(KMmsCCLogFolder,"mmss");
       
    32 
       
    33 #define LOG(AAA) RFileLogger::Write(KMmsCCLogFolder(),KMmsCCLogFile(),EFileLoggingModeAppend,AAA)
       
    34 
       
    35 #else // no _DEBUG defined
       
    36 
       
    37 #define LOG(AAA)
       
    38 
       
    39 #endif // _DEBUG
       
    40 #endif // MMSCODECCLIENTLOGGER_H