email/mail/UtilsSrc/MailLogDef.h
branchRCL_3
changeset 27 7fdbb852d323
parent 0 72b543305e3a
equal deleted inserted replaced
26:ebe688cedc25 27:7fdbb852d323
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Logging class defines
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MAILLOGDEF_H
       
    19 #define MAILLOGDEF_H
       
    20 
       
    21 /////////////////////////////////////////////////////////////////////////////
       
    22 // #Defines that control printing of additional information to debug stream.
       
    23 /////////////////////////////////////////////////////////////////////////////
       
    24 
       
    25 // enable logging in debug builds
       
    26 #ifdef _DEBUG
       
    27 #define MAIL_ENABLE_LOGGING
       
    28 #define MAIL_LOG_TO_FILE
       
    29 #define MAIL_ENABLE_UNIT_TEST
       
    30 #endif // _DEBUG
       
    31 
       
    32 // Define this to enable alloc failure testing
       
    33 //#define MAIL_ENABLE_ALLOC_TEST
       
    34 // Defining this enables logging
       
    35 //#define MAIL_ENABLE_LOGGING
       
    36 // Defining this will direct all messages to a log file
       
    37 //#define MAIL_LOG_TO_FILE
       
    38 // Defining this will allow Unit Tests access to private functions & members
       
    39 //#define MAIL_ENABLE_UNIT_TEST
       
    40 
       
    41 #endif // MAILLOGDEF_H
       
    42 
       
    43 //  End of File