Casper ships with a `Colorizer` object which can print stuff to the console output in color:
``` javascript
casper.echo('this is an informative message','INFO');// printed in green
casper.echo('this is an error message','ERROR');// printed in red
```
Available predefined styles are:
- 'ERROR': white text on red background
- 'INFO': green text
- 'TRACE': green text
- 'PARAMETER': cyan text
- 'COMMENT': yellow text
- 'WARNING': red text
- 'GREEN_BAR': green text on white background
- 'RED_BAR': white text on red background
- 'INFO_BAR': cyan text
## Extending Casper
Sometimes it can be convenient to add your own methods to the `Casper` class; it's easily doable using the `Casper.extend()` method as illustrated below: