Separated out notice, warning, error functions