refactor android logger