git.ithinksw.org
/
ITFoundation.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a5666aa2fa01863079b64c1e9a2caf73dac93bb5
[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
}