add function of send log messages