change Logger

change non-static method to non-static method