Skip to content

Commit

Permalink
Less debugging output in debug builds
Browse files Browse the repository at this point in the history
The release builds don't have debugging output
  • Loading branch information
hashier committed Feb 1, 2014
1 parent f809388 commit a08729b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion idleSound/IdleManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ - (void)idleCheckTimer:(NSTimer *)inTimer {
CFTimeInterval currentIdle = [self currentMachineIdle];

// don't print to much debugging information
if (currentIdle < self.machineIdleThreshold || (int)currentIdle % 1000 == 0) {
if (currentIdle < 300 || (int)currentIdle % 600 == 0) {
DLog(@"Current idle time : %f", currentIdle);
DLog(@"Last Seen idle time: %f", self.lastSeenIdle);
}
Expand Down
2 changes: 1 addition & 1 deletion idleSound/idleSound-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0081</string>
<string>0084</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>LSUIElement</key>
Expand Down

0 comments on commit a08729b

Please sign in to comment.