X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/3d646c75403df6d5324833a701723a765555177f..692faf9cb79903190c1885a7ed08a2c97cc7fb8b:/ITDebug.m diff --git a/ITDebug.m b/ITDebug.m old mode 100755 new mode 100644 index e7fef2b..a5666aa --- a/ITDebug.m +++ b/ITDebug.m @@ -1,28 +1,16 @@ -/* - * ITDebug.m - * ITFoundation - * - * Created by Joseph Spiros on Fri Sep 12 2003. - * Copyright (c) 2003 __MyCompanyName__. All rights reserved. - * - */ - #import "ITDebug.h" static BOOL _ITDebugMode = NO; -void SetITDebugMode (BOOL mode) -{ - _ITDebugMode = mode; +void SetITDebugMode(BOOL mode) { + _ITDebugMode = mode; } -void ITDebugLog (NSString *format, ...) -{ - if ( ( _ITDebugMode == YES ) ) { - va_list ap; - - va_start (ap, format); - NSLogv (format, ap); - va_end (ap); - } +void ITDebugLog(NSString *format, ...) { + if ( ( _ITDebugMode == YES ) ) { + va_list ap; + va_start (ap, format); + NSLogv (format, ap); + va_end (ap); + } } \ No newline at end of file