updated README with sample colorizer rendering screenshot
Showing
1 changed file
with
13 additions
and
9 deletions
... | @@ -617,15 +617,19 @@ casper.echo('this is an error message', 'ERROR'); // printed in red | ... | @@ -617,15 +617,19 @@ casper.echo('this is an error message', 'ERROR'); // printed in red |
617 | 617 | ||
618 | Available predefined styles are: | 618 | Available predefined styles are: |
619 | 619 | ||
620 | - 'ERROR': white text on red background | 620 | - `ERROR`: white text on red background |
621 | - 'INFO': green text | 621 | - `INFO`: green text |
622 | - 'TRACE': green text | 622 | - `TRACE`: green text |
623 | - 'PARAMETER': cyan text | 623 | - `PARAMETER`: cyan text |
624 | - 'COMMENT': yellow text | 624 | - `COMMENT`: yellow text |
625 | - 'WARNING': red text | 625 | - `WARNING`: red text |
626 | - 'GREEN_BAR': green text on white background | 626 | - `GREEN_BAR`: green text on white background |
627 | - 'RED_BAR': white text on red background | 627 | - `RED_BAR`: white text on red background |
628 | - 'INFO_BAR': cyan text | 628 | - `INFO_BAR`: cyan text |
629 | |||
630 | Here's a sample output of what it can look like: | ||
631 | |||
632 | ![capture](http://cl.ly/2j0m1A3E2N2z3Q2o2N1q/Capture_d%E2%80%99e%CC%81cran_2011-10-11_a%CC%80_23.48.41.png) | ||
629 | 633 | ||
630 | ## Extending Casper | 634 | ## Extending Casper |
631 | 635 | ... | ... |
-
Please register or sign in to post a comment