Changelog: 2.21 Feb 6, 2008 - Added log_and_die() and log_and_croak() methods. Patch by Yuval Kogman.