Beamlib 3.5.2
This is the Beam C++ class library.
Loading...
Searching...
No Matches
BDebug.h File Reference
#include <stdio.h>
#include <time.h>
#include <syslog.h>

Go to the source code of this file.

Classes

class  BDebugBacktrace
 Backtrace on crash class. More...
 

Macros

#define BDebug_STD   0x000001
 
#define dprintf(level, fmt, a...)
 General debug functions.
 
#define nprintf(fmt, a...)
 Warnings and errors logging.
 
#define wprintf(fmt, a...)
 
#define eprintf(fmt, a...)
 
#define dl1printf(fmt, a...)
 
#define dl2printf(fmt, a...)
 
#define dl3printf(fmt, a...)
 
#define dl4printf(fmt, a...)
 

Functions

void bhd8 (const void *data, unsigned int n)
 Software debug functions.
 
void bhd8a (const void *data, unsigned int n)
 
void bhda8 (const void *data, unsigned int n)
 
void bhd32 (const void *data, unsigned int n)
 
void bhds32 (const void *data, unsigned int n)
 
double getTime ()
 
void setDebug (int debug)
 
void tprintf (int log, const char *fmt,...)
 
pid_t bgettid ()
 

Variables

int bdebug
 

Macro Definition Documentation

◆ BDebug_STD

#define BDebug_STD   0x000001

◆ dprintf

#define dprintf ( level,
fmt,
a... )

General debug functions.

◆ nprintf

#define nprintf ( fmt,
a... )
Value:
syslog(LOG_NOTICE, fmt, ##a)

Warnings and errors logging.

◆ wprintf

#define wprintf ( fmt,
a... )
Value:
syslog(LOG_WARNING, fmt, ##a)

◆ eprintf

#define eprintf ( fmt,
a... )
Value:
syslog(LOG_ERR, fmt, ##a)

◆ dl1printf

#define dl1printf ( fmt,
a... )

◆ dl2printf

#define dl2printf ( fmt,
a... )

◆ dl3printf

#define dl3printf ( fmt,
a... )

◆ dl4printf

#define dl4printf ( fmt,
a... )

Function Documentation

◆ bhd8()

void bhd8 ( const void * data,
unsigned int n )

Software debug functions.

◆ bhd8a()

void bhd8a ( const void * data,
unsigned int n )

◆ bhda8()

void bhda8 ( const void * data,
unsigned int n )

◆ bhd32()

void bhd32 ( const void * data,
unsigned int n )

◆ bhds32()

void bhds32 ( const void * data,
unsigned int n )

◆ getTime()

double getTime ( )

◆ setDebug()

void setDebug ( int debug)

◆ tprintf()

void tprintf ( int log,
const char * fmt,
... )

◆ bgettid()

pid_t bgettid ( )

Variable Documentation

◆ bdebug

int bdebug
extern