new way to print log it's excellent