forked from mirrors/Scribe.js
Update README.md
This commit is contained in:
parent
f2f3445027
commit
cc97e8f3e4
1 changed files with 4 additions and 4 deletions
|
@ -93,7 +93,7 @@ app.use(scribe.express.logger(function(req, res){ // Express.js access l
|
||||||
|
|
||||||
// Control Panel
|
// Control Panel
|
||||||
// --------------
|
// --------------
|
||||||
app.get('/log', scribe.express.controlPanel); // Enable web control panel
|
app.get('/log', scribe.express.controlPanel()); // Enable web control panel
|
||||||
|
|
||||||
// Basic logging
|
// Basic logging
|
||||||
// --------------
|
// --------------
|
||||||
|
@ -118,15 +118,15 @@ console.t().log("Your message"); // [MY_APP_NAME]
|
||||||
console.f(__filename).log("Your message"); // [file.js] Your message
|
console.f(__filename).log("Your message"); // [file.js] Your message
|
||||||
|
|
||||||
// Auto tagging
|
// Auto tagging
|
||||||
// -----------------
|
// ------------
|
||||||
console.log("Your message"); // [invokedFrom.js:25] Your message
|
console.log("Your message"); // [invokedFrom.js:25] Your message
|
||||||
|
|
||||||
```
|
```
|
||||||
6. Experimental
|
6. Experimental
|
||||||
----
|
----
|
||||||
```js
|
```js
|
||||||
// Simple visually aided Testing
|
// Simple Testing
|
||||||
// -----------------
|
// --------------
|
||||||
console.test("Test name").expect(5).should(5); // Pretty printed test results
|
console.test("Test name").expect(5).should(5); // Pretty printed test results
|
||||||
```
|
```
|
||||||
Contributors
|
Contributors
|
||||||
|
|
Loading…
Add table
Reference in a new issue