diff options
-rw-r--r-- | Foundation/GTMLogger.h | 9 | ||||
-rw-r--r-- | Foundation/GTMLogger.m | 10 |
2 files changed, 9 insertions, 10 deletions
diff --git a/Foundation/GTMLogger.h b/Foundation/GTMLogger.h index 49cb899..c4fd140 100644 --- a/Foundation/GTMLogger.h +++ b/Foundation/GTMLogger.h @@ -492,4 +492,13 @@ typedef enum { @end +// For subclasses only +@interface GTMLogger (PrivateMethods) + +- (void)logInternalFunc:(const char *)func + format:(NSString *)fmt + valist:(va_list)args + level:(GTMLoggerLevel)level NS_FORMAT_FUNCTION(2, 0); + +@end diff --git a/Foundation/GTMLogger.m b/Foundation/GTMLogger.m index cb36e3b..0263aa1 100644 --- a/Foundation/GTMLogger.m +++ b/Foundation/GTMLogger.m @@ -24,16 +24,6 @@ #import <pthread.h> -@interface GTMLogger (PrivateMethods) - -- (void)logInternalFunc:(const char *)func - format:(NSString *)fmt - valist:(va_list)args - level:(GTMLoggerLevel)level NS_FORMAT_FUNCTION(2, 0); - -@end - - // Reference to the shared GTMLogger instance. This is not a singleton, it's // just an easy reference to one shared instance. static GTMLogger *gSharedLogger = nil; |