Yup, "all or nothing" thinking is a path to ruin. I've been there, done that. This time I purposely decided to have a "day off" per month. I'd still log the calories and everything, and not go totally crazy but otherwise eat/drink whatever I want. This way it's not "cheating" and since there is no expectation to be "perfect" you don't worry about it.
So, my advice is to log what you ate, forget about it, and move on. If you find the temptation repeats itself, then you need to come up with a strategy to help guard against it in the future.
47 M 5'8"
May 4, 2010...... 440? lbs. (Start FitDay Size 60 Jeans)
June 19, 2010.... 393 lbs. (First Weigh-in)
June 19, 2011.... 229 lbs. (164 lbs. gone in one year :-)
Current Weight... 185 lbs. (Size 36 Jeans)
Next Goal 169 lbs. (07/04/12)
Ultimate Goal 165 lbs. (12/31/12)
The best exercises for weight loss are Fork Putdowns and Table Pushaways.