/[pcsx2_0.9.7]/trunk/plugins/zzogl-pg/opengl/ZZLog.cpp
ViewVC logotype

Diff of /trunk/plugins/zzogl-pg/opengl/ZZLog.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 191 by william, Mon Sep 20 05:35:51 2010 UTC revision 273 by william, Fri Nov 12 01:10:22 2010 UTC
# Line 244  void Warn_Log(const char *fmt, ...) Line 244  void Warn_Log(const char *fmt, ...)
244  #endif  #endif
245  }  }
246    
247    void Dev_Log(const char *fmt, ...)
248    {
249    #ifdef ZEROGS_DEVBUILD
250            va_list list;
251    
252            va_start(list, fmt);
253    
254            if (IsLogging())
255            {
256                    vfprintf(gsLog, fmt, list);
257                    fprintf(gsLog, "\n");
258            }
259    
260            fprintf(stderr, "ZZogl-PG:  ");
261            vfprintf(stderr, fmt, list);
262            fprintf(stderr, "\n");
263            
264            va_end(list);
265    #endif
266    }
267    
268  void Debug_Log(const char *fmt, ...)  void Debug_Log(const char *fmt, ...)
269  {  {
270  #if _DEBUG  #if _DEBUG

Legend:
Removed from v.191  
changed lines
  Added in v.273

  ViewVC Help
Powered by ViewVC 1.1.22