change logger sender functions to log module