Skip to content

Commit 3130342

Browse files
author
Nicola Greco
committed
Rearranging logging paragraph
1 parent 89503a7 commit 3130342

1 file changed

Lines changed: 8 additions & 13 deletions

File tree

‎README.md‎

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,14 @@ app.listen(3000, function() {
7676
...
7777
```
7878

79+
#### Logs
80+
81+
Run your app with the `DEBUG` variable set:
82+
83+
```bash
84+
$ DEBUG="ldnode:*" node app.js
85+
```
86+
7987
## Command line tool
8088

8189
npm install -g ldnode
@@ -103,19 +111,6 @@ Options:
103111
104112
```
105113

106-
## Logging
107-
108-
If you are running your own app
109-
110-
```bash
111-
$ DEBUG="ldnode:*" node app.js
112-
```
113-
114-
or simply
115-
116-
```bash
117-
$ ldnode -v
118-
```
119114

120115
## Package scripts
121116

0 commit comments

Comments
 (0)