log.h File Reference

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

Go to the source code of this file.

Defines

#define LOG_ERR(args...)   ersp_log("error", __FILE__, __LINE__, args)
#define LOG_WARN(args...)   ersp_log("warn", __FILE__, __LINE__, args)
#define LOG_INFO(args...)   ersp_log("info", __FILE__, __LINE__, args)
#define LOG_DBG(args...)   ersp_log("debug", __FILE__, __LINE__, args)

Functions

void ersp_log (char *msg, char *file, int line, char *fmt,...)


Define Documentation

#define LOG_DBG ( args...   )     ersp_log("debug", __FILE__, __LINE__, args)

Definition at line 28 of file log.h.

Referenced by ERSP::Main().

#define LOG_ERR ( args...   )     ersp_log("error", __FILE__, __LINE__, args)

Definition at line 25 of file log.h.

Referenced by ERSP::Main(), and ERSP::SetupERSP().

#define LOG_INFO ( args...   )     ersp_log("info", __FILE__, __LINE__, args)

Definition at line 27 of file log.h.

Referenced by player_driver_init(), ERSP::PutData(), ERSP::Setup(), ERSP::Shutdown(), ERSP::Subscribe(), and ERSP::Unsubscribe().

#define LOG_WARN ( args...   )     ersp_log("warn", __FILE__, __LINE__, args)

Definition at line 26 of file log.h.


Function Documentation

void ersp_log ( char *  msg,
char *  file,
int  line,
char *  fmt,
  ... 
)

Definition at line 32 of file log.cc.

References done_log(), and log_file.

Here is the call graph for this function:


Generated on Sat Jan 13 03:11:09 2007 for ERSP Player driver by  doxygen 1.5.1