#include <bt_log.h>
Public Types | |
enum | { WARNING_CHANNEL = 0, ERROR_CHANNEL, INFO_CHANNEL, MEMORY_CHANNEL, PERFORMANCE_CHANNEL, USER_DEFINED_CHANNEL_START } |
enum | { MAX_CHANNELS = 32 } |
typedef int | ChannelID |
Channel number. | |
Static Public Member Functions | |
static void | CloseChannel (ChannelID channel) |
Closes this channel. | |
static void | InitStandardChannels (void *, BT_Log_callback_function fcn) |
Initializes logging with this call back. | |
static void | InitStandardChannels () |
Initializes logging. | |
static void | LogMsg (ChannelID channel, const char *fmt,...) BT_LOG_PRINTF_ATTRIBUTE |
Logs this message. | |
static void | MuteAll () |
Mutes all channels. | |
static void | MuteChannel (ChannelID channel) |
Mutes this channel. | |
static void | NewChannel (ChannelID channel, void *callback_data, BT_Log_callback_function fcn) |
Activates logging on this channel and use this callback. | |
static void | NewChannel (ChannelID channel, FILE *stream) |
Activates logging on this channel. | |
static void | ReinitStandardChannels (void *, BT_Log_callback_function fcn) |
Reinitializes logging with this call back. | |
static void | RestoreChannelState (void *savedState) |
Restores state. | |
static void * | SaveChannelState () |
Saves state. | |
static void | UnmuteAll () |
Unmutes all channels. | |
static void | UnmuteChannel (ChannelID channel) |
Unmutes this channel. |
Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.