Added a few log extension methods.