51
|
1 |
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// Declares logging and instrumentation for avrcp (when flogging active)
|
|
15 |
//
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
/**
|
|
20 |
@file
|
|
21 |
@internalComponent
|
|
22 |
*/
|
|
23 |
|
|
24 |
#ifndef AVRCPLOG_H
|
|
25 |
#define AVRCPLOG_H
|
|
26 |
|
|
27 |
#include <bluetooth/logger.h>
|
|
28 |
|
|
29 |
#ifdef __FLOG_ACTIVE
|
|
30 |
_LIT8(KLogComponent, LOG_COMPONENT_AVRCP_BEARER);
|
|
31 |
#endif // __FLOG_ACTIVE
|
|
32 |
|
|
33 |
#define AVRCPLOG(A) LOG(A)
|
|
34 |
#define AVRCPLOG2(A,B) LOG1(A,B)
|
|
35 |
#define AVRCPLOG3(A,B,C) LOG2(A,B,C)
|
|
36 |
#define AVRCPLOG4(A,B,C,D) LOG3(A,B,C,D)
|
|
37 |
#define AVRCPLOG5(A,B,C,D,E) LOG4(A,B,C,D,E)
|
|
38 |
|
|
39 |
#endif //AVRCPLOG_H
|
|
40 |
|