Improve safety of all logger

Cleans usage of @safe and @trusted in derived modules