#include "bt_utilities_internal.h"
#include "bt_types.h"
#include <stdio.h>
#include <stdarg.h>
Defines | |
#define | BT_LOG(ch, f) BT_Log::LogMsg(ch, f) |
Logs a message. | |
#define | BT_LOG1(ch, f, a) BT_Log::LogMsg(ch, f, a) |
Logs a message. | |
#define | BT_LOG2(ch, f, a, b) BT_Log::LogMsg(ch, f, a, b) |
Logs a message. | |
#define | BT_LOG3(ch, f, a, b, c) BT_Log::LogMsg(ch, f, a, b, c) |
Logs a message. | |
#define | BT_LOG4(ch, f, a, b, c, d) BT_Log::LogMsg(ch, f, a, b, c, d) |
Logs a message. | |
#define | BT_LOG5(ch, f, a, b, c, d, e) BT_Log::LogMsg(ch, f, a, b, c, d, e) |
Logs a message. | |
#define | BT_LOG_INIT_STANDARD() BT_Log::InitStandardChannels() |
Initialize the logging system. | |
#define | BT_LOG_MUTE(c) BT_Log::MuteChannel(c) |
Disables logging. | |
#define | BT_LOG_MUTEALL() BT_Log::MuteAll() |
Disables logging on all channels. | |
#define | BT_LOG_PRINTF_ATTRIBUTE |
#define | BT_LOG_UNMUTE(c) BT_Log::UnmuteChannel(c) |
Enables logging on the given channel. | |
#define | BT_LOG_UNMUTEALL() BT_Log::UnmuteAll() |
Enables logging on all channels. | |
Typedefs | |
typedef void(* | BT_Log_callback_function )(void *callback_data, int channel, char const *string_to_log) |
Message logging call back function. |
#define BT_LOG | ( | ch, | |||
f | ) | BT_Log::LogMsg(ch, f) |
Logs a message on the given channel. The format template (argument 2) accepts no parameters.
#define BT_LOG1 | ( | ch, | |||
f, | |||||
a | ) | BT_Log::LogMsg(ch, f, a) |
Logs a message on the given channel. The format template (argument 2) accepts 1 parameter.
#define BT_LOG2 | ( | ch, | |||
f, | |||||
a, | |||||
b | ) | BT_Log::LogMsg(ch, f, a, b) |
Logs a message on the given channel. The format template (argument 2) accepts 2 parameters.
#define BT_LOG3 | ( | ch, | |||
f, | |||||
a, | |||||
b, | |||||
c | ) | BT_Log::LogMsg(ch, f, a, b, c) |
Logs a message on the given channel. The format template (argument 2) accepts 3 parameters.
#define BT_LOG4 | ( | ch, | |||
f, | |||||
a, | |||||
b, | |||||
c, | |||||
d | ) | BT_Log::LogMsg(ch, f, a, b, c, d) |
Logs a message on the given channel. The format template (argument 2) accepts 4 parameters.
#define BT_LOG5 | ( | ch, | |||
f, | |||||
a, | |||||
b, | |||||
c, | |||||
d, | |||||
e | ) | BT_Log::LogMsg(ch, f, a, b, c, d, e) |
Logs a message on the given channel. The format template (argument 2) accepts 5 parameters.
#define BT_LOG_INIT_STANDARD | ( | ) | BT_Log::InitStandardChannels() |
Initialize the logging system.
#define BT_LOG_MUTE | ( | c | ) | BT_Log::MuteChannel(c) |
Disables logging on the given channel.
#define BT_LOG_MUTEALL | ( | ) | BT_Log::MuteAll() |
Disables logging on all channels.
#define BT_LOG_PRINTF_ATTRIBUTE |
Macro to enable/disable GNU C attribute for checking arguments to printf.
#define BT_LOG_UNMUTE | ( | c | ) | BT_Log::UnmuteChannel(c) |
Enables logging on the given channel.
#define BT_LOG_UNMUTEALL | ( | ) | BT_Log::UnmuteAll() |
Enables logging on all channels.
typedef void(* BT_Log_callback_function)(void *callback_data, int channel, char const *string_to_log) |
User can supply their own call back function of this prototype to log RLP activities.
Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.