increase line length of logging extension methods; add WriteToConsole method