Add a logger helper for the controller