fixed logger class