Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ test/fixtures/*.pem
npm-debug.log
dist
.DS_Store
.vscode/
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,17 @@ Use `-` for streaming stdin:
},
"lines": {
"err": "font-weight: bold;"
},
"regex_words": {
"Error:\\d+": "color: red;"
},
"replace_words": {
"#011": "&emsp;", "#012": "<BR>", "#015": "<BR>"
}
}
```

which means that every "err" string will be in red and every line containing "err" will be bolded.
which means that every "err" string will be in red and every line containing "err" will be bolded, "Error:\d+" (javascript regular expression syntax) will be in red and "#0XX" (which are used to escape tab and cr/lf on rsyslogd) will be replaced with their html counterparts.

_New presets are very welcome. If you don't like default or you would like to share yours, please create PR with json file._

Expand Down
Loading