Change the interface of alert. Move the severity from the declaration to the
callers parameter. This way the raising code is given the possibility to
decide what the severity will be.