Frameworks/Adium Framework/Source/ESDebugAILog.h
branchadium-1.5.10.5
changeset 5997 d88e6711d0e0
parent 4678 6880c201b832
equal deleted inserted replaced
5996:1894c44cfd13 5997:d88e6711d0e0
    19 
    19 
    20 #define AILog(fmt, args...) do { if (__builtin_expect(AIDebugLoggingEnabled, 0)) AILog_impl(fmt, ##args); } while(0)
    20 #define AILog(fmt, args...) do { if (__builtin_expect(AIDebugLoggingEnabled, 0)) AILog_impl(fmt, ##args); } while(0)
    21 #define AILogWithPrefix(sig, fmt, args...) do { if(__builtin_expect(AIDebugLoggingEnabled, 0)) AILogWithPrefix_impl(sig, fmt, ##args); } while(0)
    21 #define AILogWithPrefix(sig, fmt, args...) do { if(__builtin_expect(AIDebugLoggingEnabled, 0)) AILogWithPrefix_impl(sig, fmt, ##args); } while(0)
    22 #define AILogBacktrace() do { if(__builtin_expect(AIDebugLoggingEnabled, 0)) AILogBacktrace_impl(); } while(0)
    22 #define AILogBacktrace() do { if(__builtin_expect(AIDebugLoggingEnabled, 0)) AILogBacktrace_impl(); } while(0)
    23 #define AILogWithSignature(fmt, args...) AILogWithSignature_impl(__PRETTY_FUNCTION__, __LINE__, fmt, ##args);
    23 #define AILogWithSignature(fmt, args...) AILogWithSignature_impl(__PRETTY_FUNCTION__, __LINE__, fmt, ##args);
    24 void AIEnableDebugLogging();
    24 void AIEnableDebugLogging(void);
    25 BOOL AIDebugLoggingIsEnabled();
    25 BOOL AIDebugLoggingIsEnabled(void);
    26 void AILogWithSignature_impl (const char *function, int line, NSString *format, ...) __attribute__((format(__NSString__, 3, 4)));
    26 void AILogWithSignature_impl (const char *function, int line, NSString *format, ...) __attribute__((format(__NSString__, 3, 4)));
    27 void AILogWithPrefix_impl (const char *signature, NSString *format, ...) __attribute__((format(__NSString__, 2, 3)));
    27 void AILogWithPrefix_impl (const char *signature, NSString *format, ...) __attribute__((format(__NSString__, 2, 3)));
    28 void AILog_impl (NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
    28 void AILog_impl (NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
    29 void AILogBacktrace_impl();
    29 void AILogBacktrace_impl(void);