1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/bluetooth/btlogger.mmh Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,67 @@
1.4 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// When checking this file into perforce, ensure that
1.18 +// LOGGING IS DISABLED FOR RELEASE BUILDS.
1.19 +// PREQ505 - "Easy and consistent configuration of component traces"
1.20 +// If we're keeping this file, #include it correctly in dependent MMP files, and move it to
1.21 +// 'public'.
1.22 +//
1.23 +//
1.24 +
1.25 +/**
1.26 + @todo remove this mmh file in favour of the System Wide Trace Mechanism to be introduced in
1.27 +*/
1.28 +
1.29 +// Uncomment next line to temporarily engage logging for release builds.
1.30 +//#define __FLOGGER_UREL
1.31 +// Comment next line to temporarily disengage logging for debug builds
1.32 +#define __FLOGGER_UDEB
1.33 +
1.34 +// Determine whether, and how, flogger is to be included
1.35 +#ifdef __FLOGGER_UREL
1.36 + #ifdef __FLOGGER_UDEB
1.37 + #define __FLOGGER_INCLUDED
1.38 + MACRO __FLOG_UREL
1.39 + #endif
1.40 +#endif
1.41 +#ifdef __FLOGGER_UREL
1.42 + #ifndef __FLOGGER_UDEB
1.43 + #define __FLOGGER_INCLUDED
1.44 + MACRO __FLOG_UREL
1.45 + MACRO __FLOG_NO_UDEB
1.46 + #endif
1.47 +#endif
1.48 +#ifndef __FLOGGER_UREL
1.49 + #ifndef __FLOGGER_UDEB
1.50 + MACRO __FLOG_NO_UDEB
1.51 + #endif
1.52 +#endif
1.53 +#ifndef __FLOGGER_UREL
1.54 + #ifdef __FLOGGER_UDEB
1.55 + #define __FLOGGER_INCLUDED
1.56 + #define __FLOGGER_DEBUGGERLIBRARY
1.57 + #endif
1.58 +#endif
1.59 +
1.60 +
1.61 +#ifdef __FLOGGER_INCLUDED
1.62 + #ifndef __FLOGGER_SUPPRESS_LIBRARY
1.63 + #ifdef __FLOGGER_DEBUGGERLIBRARY
1.64 + DEBUGLIBRARY btlogger.lib
1.65 + #else
1.66 + LIBRARY btlogger.lib
1.67 + #endif
1.68 + #endif
1.69 +#endif
1.70 +