Remove class method in logger