Logging.m
changeset 33 d52f6b0d94be
parent 11 e5976864dfe9
     1.1 --- a/Logging.m	Sat May 24 13:24:33 2008 -0700
     1.2 +++ b/Logging.m	Wed Jul 01 14:04:56 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 )