2005-06-02 18:16:43 +00:00
|
|
|
/*
|
|
|
|
* NSDebug.c
|
|
|
|
* Cog
|
|
|
|
*
|
2005-07-02 21:02:06 +00:00
|
|
|
* Created by Vincent Spader on 5/30/05.
|
|
|
|
* Copyright 2005 Vincent Spader All rights reserved.
|
2005-06-02 18:16:43 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "DBLog.h"
|
|
|
|
|
2005-07-02 21:02:06 +00:00
|
|
|
|
2005-06-02 18:16:43 +00:00
|
|
|
void DBLog(NSString *format, ...)
|
|
|
|
{
|
|
|
|
#ifdef DEBUG
|
|
|
|
|
|
|
|
va_list ap;
|
|
|
|
|
|
|
|
va_start(ap, format);
|
|
|
|
|
|
|
|
NSLogv(format, ap);
|
|
|
|
|
|
|
|
va_end(ap);
|
|
|
|
#endif
|
|
|
|
}
|