Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

logger.h File Reference

#include <stdio.h>
#include <stdarg.h>

Include dependency graph for logger.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define LOG_DEBUG
#define LOG_ERROR   log_error
#define LOG_WARNING
#define LOGGER_STORAGE_TYPE   extern
#define PRINT_STATEMENT(a, s)   fprintf(stderr, "STMTDUMP: %s (%s, %s, %s, %s)\n", (a), s->context.literal, s->predicate.literal, s->subject.literal, s->object.literal)

Functions

LOGGER_STORAGE_TYPE void log_debug (char *message,...)
 prints debug message to the stderr
LOGGER_STORAGE_TYPE void log_error (char *format,...)
 prints error message to the stderr
LOGGER_STORAGE_TYPE void log_warning (char *message,...)


Define Documentation

#define LOG_DEBUG
 

#define LOG_ERROR   log_error
 

#define LOG_WARNING
 

#define LOGGER_STORAGE_TYPE   extern
 

#define PRINT_STATEMENT a,
 )     fprintf(stderr, "STMTDUMP: %s (%s, %s, %s, %s)\n", (a), s->context.literal, s->predicate.literal, s->subject.literal, s->object.literal)
 


Function Documentation

LOGGER_STORAGE_TYPE void log_debug char *  message,
  ...
 

prints debug message to the stderr

LOGGER_STORAGE_TYPE void log_error char *  format,
  ...
 

prints error message to the stderr

LOGGER_STORAGE_TYPE void log_warning char *  message,
  ...
 


Generated on Wed Dec 27 16:52:20 2006 for VRB Online Server by  doxygen 1.4.4