BT_Log Class Reference

Implements message logging. More...

#include <bt_log.h>

List of all members.

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.


Detailed Description

Implements message logging. This is for internal use by the Basis software. Customers will interact with this system by supplying a BT_Log_callback_function.

Note:
Direct use of the class by customers is unsupported.
See also:
BT_Log_callback_function

The documentation for this class was generated from the following file:

Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.