aboutsummaryrefslogtreecommitdiff
path: root/Foundation
diff options
context:
space:
mode:
Diffstat (limited to 'Foundation')
-rw-r--r--Foundation/GTMLogger.h4
-rw-r--r--Foundation/GTMLogger.m2
2 files changed, 3 insertions, 3 deletions
diff --git a/Foundation/GTMLogger.h b/Foundation/GTMLogger.h
index e71d56d..a776922 100644
--- a/Foundation/GTMLogger.h
+++ b/Foundation/GTMLogger.h
@@ -442,9 +442,9 @@ typedef enum {
// Log Filters
//
-// Protocol to be imlemented by a GTMLogFilter instance.
+// Protocol to be implemented by a GTMLogFilter instance.
@protocol GTMLogFilter <NSObject>
-// Returns YES if |msg| at |level| should be filtered out; NO otherwise.
+// Returns YES if |msg| at |level| should be logged; NO otherwise.
- (BOOL)filterAllowsMessage:(NSString *)msg level:(GTMLoggerLevel)level;
@end // GTMLogFilter
diff --git a/Foundation/GTMLogger.m b/Foundation/GTMLogger.m
index 90fce3e..7c2a543 100644
--- a/Foundation/GTMLogger.m
+++ b/Foundation/GTMLogger.m
@@ -97,7 +97,7 @@ static GTMLogger *gSharedLogger = nil;
// Don't trust NSFileHandle not to throw
@try {
- GTMLogBasicFormatter *formatter = [[[GTMLogBasicFormatter alloc] init]
+ GTMLogBasicFormatter *formatter = [[[GTMLogBasicFormatter alloc] init]
autorelease];
GTMLogger *stdoutLogger =
[self loggerWithWriter:[NSFileHandle fileHandleWithStandardOutput]