Updating dependencies and increasing support of new adapterset architecture
This commit is contained in:
parent
6f002456f6
commit
558ddad800
8
package-lock.json
generated
8
package-lock.json
generated
@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"name": "@hibas123/nodelogging",
|
"name": "@hibas123/nodelogging",
|
||||||
"version": "2.3.2",
|
"version": "2.3.4",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hibas123/logging": {
|
"@hibas123/logging": {
|
||||||
"version": "2.3.4",
|
"version": "2.3.5",
|
||||||
"resolved": "https://npm.hibas123.de/@hibas123%2flogging/-/logging-2.3.4.tgz",
|
"resolved": "https://npm.hibas123.de/@hibas123%2flogging/-/logging-2.3.5.tgz",
|
||||||
"integrity": "sha512-0XZlQ+hIY38KzJvYv3Zz/3lM9oUVClJQN4bRNdWL+XCxHexY7jEtG5Fe9v+8KEmIFoVLWixD5DdozLxbQgkgPQ==",
|
"integrity": "sha512-fVy1A/CwarXeS07OYOdxGsnSibefvS0QS5j/LVw7ceoy0tet6hXnL9BUGQwBscNlr71sEHtnSVeQm06TKdgEKA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@hibas123/utils": "^2.2.3"
|
"@hibas123/utils": "^2.2.3"
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hibas123/nodelogging",
|
"name": "@hibas123/nodelogging",
|
||||||
"version": "2.3.4",
|
"version": "2.3.5",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "out/index.js",
|
"main": "out/index.js",
|
||||||
"types": "out/index.d.ts",
|
"types": "out/index.d.ts",
|
||||||
@ -32,7 +32,7 @@
|
|||||||
"typescript": "^3.8.3"
|
"typescript": "^3.8.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hibas123/logging": "^2.3.4",
|
"@hibas123/logging": "^2.3.5",
|
||||||
"@hibas123/utils": "^2.2.3"
|
"@hibas123/utils": "^2.2.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -47,6 +47,12 @@ export class LoggingBase extends LoggingBaseOriginal {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected postGetChild(child: LoggingBase) {
|
||||||
|
child.getCurrentTime = this.getCurrentTime.bind(child);
|
||||||
|
child.getTimeDiff = this.getTimeDiff.bind(child);
|
||||||
|
child.postGetChild = this.postGetChild.bind(child);
|
||||||
|
}
|
||||||
|
|
||||||
protected getCurrentTime() {
|
protected getCurrentTime() {
|
||||||
if (process.hrtime.bigint) {
|
if (process.hrtime.bigint) {
|
||||||
return process.hrtime.bigint();
|
return process.hrtime.bigint();
|
||||||
|
Loading…
Reference in New Issue
Block a user