Add setting the Writer in the construct method, because it is needed by the Logger every time

It's better to put configuration in construct method, because it is mandatory for working with logs