fix logger interface