write console output according to status severity