Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
11e2c9ff
...
11e2c9ff123b39ddb47475cb67d39e4af84716f6
authored
2011-10-12 10:36:21 +0200
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updated README with sample colorizer rendering screenshot
1 parent
55ba281c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
README.md
README.md
View file @
11e2c9f
...
...
@@ -617,15 +617,19 @@ 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
-
`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
Here's a sample output of what it can look like:
![
capture
](
http://cl.ly/2j0m1A3E2N2z3Q2o2N1q/Capture_d%E2%80%99e%CC%81cran_2011-10-11_a%CC%80_23.48.41.png
)
## Extending Casper
...
...
Please
register
or
sign in
to post a comment