Added extension methods to write empty lines to log