changeset 24 | 629c7605ab2a |
parent 11 | e5976864dfe9 |
1.1 --- a/Logging.m Sat May 24 13:24:33 2008 -0700 1.2 +++ b/Logging.m Wed Apr 08 16:31:19 2009 -0700 1.3 @@ -99,7 +99,7 @@ 1.4 { 1.5 if( _gShouldLog == -1 ) 1.6 InitLogging(); 1.7 - return _gShouldLog && [sEnabledDomains containsObject: domain]; 1.8 + return _gShouldLog && (domain==nil || [sEnabledDomains containsObject: domain]); 1.9 } 1.10 1.11 BOOL _EnableLogTo( NSString *domain, BOOL enable )