Change the return type of function AddLogger