readme
This commit is contained in:
@ -16,18 +16,18 @@ From the folder you wish to serve, run:
|
||||
```sh
|
||||
$ ws [--port|-p <port>] [--log-format|-p dev|default|short|tiny]
|
||||
```
|
||||
The default `port` and `log-format` are `8000` and `dev`, respectively.
|
||||
The default port and log-format are 8000 and "dev", respectively.
|
||||
|
||||
Use with Logstalgia
|
||||
===================
|
||||
The `default` log-format is compatible with [logstalgia](http://code.google.com/p/logstalgia/).
|
||||
The "default" log-format is compatible with [logstalgia](http://code.google.com/p/logstalgia/).
|
||||
|
||||
If you wrote your log output to disk, like so:
|
||||
```sh
|
||||
$ ws --log-format default > web.log
|
||||
```
|
||||
|
||||
Then you could visualise in logstalgia:
|
||||
Then you could visualise in logstalgia with:
|
||||
```sh
|
||||
$ logstalgia web.log
|
||||
```
|
||||
|
Reference in New Issue
Block a user