imagehandlingutilities/thumbnailmanager/thumbagdaemon/inc/thumblog.h
changeset 0 2014ca87e772
equal deleted inserted replaced
-1:000000000000 0:2014ca87e772
       
     1 /*
       
     2 * Copyright (c) 2006-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:  Log commands 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef THUMBLOG_H
       
    20 #define THUMBLOG_H
       
    21 
       
    22 #include <e32debug.h>
       
    23 #include <utf.h>
       
    24 
       
    25 #ifdef _DEBUG
       
    26 
       
    27 #define WLOG(a) RDebug::Print(_L(a))
       
    28 #define WLOG1(a,b) RDebug::Print(_L(a),(b))
       
    29 #define WLOG2(a,b,c) RDebug::Print(_L(a),(b),(c))
       
    30 #define WLOG3(a,b,c,d) RDebug::Print(_L(a),(b),(c),(d))
       
    31 
       
    32 #define HLOG(a)  RDebug::Print((a))
       
    33 #define HLOG1(a, b)  RDebug::Print((a), (b))
       
    34 #define HLOG2(a, b, c)  RDebug::Print((a), (b), (c))
       
    35 #define HLOG3(a, b, c, d)  RDebug::Print((a), (b), (c), (d))
       
    36 #define HLOG4(a, b, c, d, e)  RDebug::Print((a), (b), (c), (d), (e))
       
    37 #define HLOG5(a, b, c, d, e, f)  RDebug::Print((a), (b), (c), (d), (e), (f))
       
    38 
       
    39 #else 
       
    40 
       
    41 #define WLOG(a)
       
    42 #define WLOG1(a,b)
       
    43 #define WLOG2(a,b,c)
       
    44 #define WLOG3(a,b,c,d)
       
    45 
       
    46 #define HLOG(a)
       
    47 #define HLOG1(a, b)
       
    48 #define HLOG2(a, b, c) 
       
    49 #define HLOG3(a, b, c, d) 
       
    50 #define HLOG4(a, b, c, d, e) 
       
    51 #define HLOG5(a, b, c, d, e, f) 
       
    52 
       
    53 #endif
       
    54 
       
    55 #endif  // THUMBLOG_H