use this.class to replace declare logger in each class