sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Implements print functions for streaming caf component. sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @internalComponent sl@0: @released sl@0: */ sl@0: sl@0: #ifndef SCAFLOG_H sl@0: #define SCAFLOG_H sl@0: sl@0: #include "securitylog.h" sl@0: sl@0: namespace StreamAccess sl@0: { sl@0: _LIT8(KComponentName, "[SCAF]"); sl@0: sl@0: #define DEBUG_PRINTF(a) {SEC_DEBUG_PRINTF(KComponentName, a);} sl@0: #define DEBUG_PRINTF2(a, b) {SEC_DEBUG_PRINTF2(KComponentName, a, b);} sl@0: #define DEBUG_PRINTF3(a, b, c) {SEC_DEBUG_PRINTF3(KComponentName, a, b, c);} sl@0: #define DEBUG_PRINTF4(a, b, c, d) {SEC_DEBUG_PRINTF4(KComponentName, a, b, c, d);} sl@0: #define DEBUG_PRINTF5(a, b, c, d, e) {SEC_DEBUG_PRINTF5(KComponentName, a, b, c, d, e);} sl@0: sl@0: #define DEBUG_CODE_SECTION(a) {SEC_DEBUG_CODE_SECTION(a);} sl@0: sl@0: } // End of namespace StreamAccess sl@0: sl@0: #endif // SCAFLOG_H