made format method in Mojo::Log a little more versatile