git.ithinksw.org
/
ITFoundation.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Huge update to ITFoundation. I've gone through every file (except queue.h
[ITFoundation.git]
/
ITDebug.m
1
#import "ITDebug.h"
2
3
static BOOL _ITDebugMode = NO;
4
5
void SetITDebugMode(BOOL mode) {
6
_ITDebugMode = mode;
7
}
8
9
void ITDebugLog(NSString *format, ...) {
10
if ( ( _ITDebugMode == YES ) ) {
11
va_list ap;
12
va_start (ap, format);
13
NSLogv (format, ap);
14
va_end (ap);
15
}
16
}