I guess logger should return a reference

... and not a copy.