sampLog.c File Reference

SAMP trace and logging interface. More...

#include <stdio.h>
#include <fcntl.h>
#include <signal.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "samp.h"

Defines

#define SZ_FMTSPEC   25
#define EOS   0
#define T_INT   0
#define T_DOUBLE   1
#define T_CHAR   2

Functions

void sampLog (handle_t handle, char *format,...)
 SAMP message logger.
void sampTrace (handle_t handle, char *format,...)
 SAMP tracer.


Detailed Description

SAMP trace and logging interface.

SAMPLOG.C -- SAMP trace and logging interface.

Author:
Mike Fitzpatrick
Date:
6/10/09

Function Documentation

void sampLog ( handle_t  handle,
char *  format,
  ... 
)

SAMP message logger.

SAMPLOG -- SAMP message logger.

Parameters:
handle SAMP handle
format message format string
Returns:
nothing

References Samp::debug, and Samp::logfd.

void sampTrace ( handle_t  handle,
char *  format,
  ... 
)

SAMP tracer.

SAMPTRACE -- SAMP tracer.

Parameters:
handle SAMP handle
format message format string
Returns:
nothing

References Samp::trace.

Referenced by samp_Metadata(), sampClose(), and sampInit().


Generated on Wed Feb 27 21:10:16 2013 for SAMP Client Library by  doxygen 1.5.9