Skip to content

Commit 0fdc00a

Browse files
author
Dmitry Ovsyanko
committed
JobSource: this.app as LOGGING_PARENT
1 parent 589afeb commit 0fdc00a

4 files changed

Lines changed: 10 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55

66
# tl;dr
77

8-
For a kick start, you may take [doix-http](https://github.com/do-/node-doix-http/wiki), make a tiny Web service and play with it.
9-
10-
Probably, at some point you'll need database connectivity: then use [doix-db](https://github.com/do-/node-doix-db/wiki).
8+
You may clone [the sample application](https://github.com/do-/node-doix-template-app) and play with it consulting the [step by step guide](https://github.com/do-/node-doix-template-app/wiki).
119

1210
# Description
1311

lib/JobSource.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,12 @@ class JobSource extends EventEmitter {
148148

149149
}
150150

151+
get [Tracker.LOGGING_PARENT] () {
152+
153+
return this.app
154+
155+
}
156+
151157
getJobLoggingDetails ({request, user}) {
152158

153159
return {request, user}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "doix",
3-
"version": "1.0.52",
3+
"version": "1.0.53",
44
"description": "A general purpose sever side framework",
55
"main": "index.js",
66
"files": [

0 commit comments

Comments
 (0)