Logging.h
changeset 27 256370e8935a
parent 11 e5976864dfe9
     1.1 --- a/Logging.h	Sat May 24 13:24:33 2008 -0700
     1.2 +++ b/Logging.h	Sun May 03 10:13:31 2009 -0700
     1.3 @@ -36,9 +36,9 @@
     1.4  #define Warn Warn
     1.5  
     1.6  void AlwaysLog( NSString *msg, ... ) __attribute__((format(__NSString__, 1, 2)));
     1.7 -BOOL _WillLogTo( NSString *domain );
     1.8  BOOL EnableLog( BOOL enable );
     1.9  #define EnableLogTo( DOMAIN, VALUE )  _EnableLogTo(@""#DOMAIN, VALUE)
    1.10 +#define WillLog()  _WillLogTo(nil)
    1.11  #define WillLogTo( DOMAIN )  _WillLogTo(@""#DOMAIN)
    1.12  
    1.13