added functionality to log writer