logthis: new function to set a different writer. By default, if not the default writer, colors will be off.