cli options, readme
This commit is contained in:
19
README.md
19
README.md
@ -18,4 +18,23 @@ $ ws [port]
|
||||
```
|
||||
The `port` arg is optional, the default is 8000.
|
||||
|
||||
Use with Logstalgia
|
||||
===================
|
||||
The `default` log format is compatible with [logstalgia](http://code.google.com/p/logstalgia/).
|
||||
|
||||
Write your log output to disk:
|
||||
```sh
|
||||
$ ws --logger default > web.log
|
||||
```
|
||||
|
||||
Then visualise in logstalgia:
|
||||
```sh
|
||||
$ logstalgia web.log
|
||||
```
|
||||
|
||||
Or pipe directly into logstalgia for real-time visualisation:
|
||||
```sh
|
||||
$ ws --logger default | logstalgia -
|
||||
```
|
||||
|
||||
[](http://githalytics.com/75lb/local-web-server)
|
||||
|
Reference in New Issue
Block a user