add npmlog style preset (#135)

pull/139/head
Krzysztof Starzyk 2018-08-14 09:43:45 +02:00 committed by Maciej Winnicki
parent 710551da7a
commit 1fb8d5be97
2 changed files with 19 additions and 0 deletions

View File

@ -89,6 +89,10 @@ which means that every "err" string will be in red and every line containing "er
_New presets are very welcome. If you don't like default or you would like to share yours, please create PR with json file._
Available presets:
- default
- npmlog
### Running behind nginx
Using the `--url-path` option `frontail` can run behind nginx with the example configuration

15
preset/npmlog.json Normal file
View File

@ -0,0 +1,15 @@
{
"words": {
"verb": "color: blue; background-color: black;",
"info": "color: green;",
"http": "color: green; background-color: black;",
"WARN": "color: black; background-color: yellow; font-style: normal;",
"error": "color: red;",
"ERR!": "color: red; background-color: black;"
},
"lines": {
"WARN": "font-style: italic;",
"ERR!": "font-weight: bold;"
}
}