aboutsummaryrefslogtreecommitdiff
path: root/Foundation
diff options
context:
space:
mode:
authorGravatar Thomas Van Lenten <thomasvl@google.com>2015-09-08 11:36:50 -0400
committerGravatar Thomas Van Lenten <thomasvl@google.com>2015-09-08 11:36:50 -0400
commitd8ee553254a4cba7b3311bdc16d1185486b0efd2 (patch)
tree2e18e0c5fd1cf61ad5142c88fe23a1060de81896 /Foundation
parent3eb082def5c70d6566eb32cc9eea66aaf4832407 (diff)
Fix up comments on filter
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]