Logging.m
changeset 21 88d7e2455a7f
parent 11 e5976864dfe9
     1.1 --- a/Logging.m	Sat May 24 13:24:33 2008 -0700
     1.2 +++ b/Logging.m	Sat Mar 28 09:39:31 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 )