sends data to logging throuth args