haiku/headers/private/bluetooth/btDebug.h

21 lines
381 B
C
Raw Normal View History

/*
* Copyright 2015-2016 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
*/
#ifndef _BTDEBUG_H
#define _BTDEBUG_H
2016-06-05 19:55:44 +03:00
#ifdef DEBUG
# define TRACE(x...) dprintf("bt: " x)
#else
# define TRACE(x...) ;
#endif
#define ERROR(x...) dprintf("bt: " x)
#define CALLED(x...) TRACE("bt: CALLED %s\n", __PRETTY_FUNCTION__)
#endif /* _BTDEBUG_H */