Added methods for output error, warning and ok