adium 4213:2be1d9401e17: Crazy idea. Now, stay with me here beca...

commits at adium.im commits at adium.im
Sun Sep 25 19:10:19 UTC 2011


details:	http://hg.adium.im/adium/rev/2be1d9401e17
revision:	4213:2be1d9401e17
branch:		(none)
author:		Stephen Holt <sholt at adium.im>
date:		Sun Sep 25 12:03:34 2011 -0700

Crazy idea. Now, stay with me here because I know this is out there. But maybe we shouldn't spam console.log with usless log statements.  Move this to an AILog instead.

diffs (13 lines):

diff -r 2ef834c10125 -r 2be1d9401e17 Source/AILoggerPlugin.m
--- a/Source/AILoggerPlugin.m	Mon Sep 19 11:59:01 2011 +0200
+++ b/Source/AILoggerPlugin.m	Sun Sep 25 12:03:34 2011 -0700
@@ -1569,8 +1569,8 @@
 {
 	__block __typeof__(self) bself = self;
 	dispatch_group_async(loggerPluginGroup, dirtyLogSetMutationQueue, ^{
-		NSLog(@"_saveDirtyLogSet");
 		NSSet *_dirtySet = [[bself.dirtyLogSet copy] autorelease];
+		AILogWithSignature(@"Saving %lu dirty logs", _dirtySet.count);
 		if ([_dirtySet count] > 0 && bself.canSaveDirtyLogSet) {
 			dispatch_async(ioQueue, ^{
 				[[_dirtySet allObjects] writeToFile:[bself _dirtyLogSetPath]




More information about the commits mailing list