modularize log sending