changeset 19 | 5ade3e09a827 |
parent 11 | e5976864dfe9 |
1.1 --- a/Logging.m Sat May 24 13:24:33 2008 -0700 1.2 +++ b/Logging.m Tue Mar 10 22:34:39 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 )