mirror of
https://git.hibas.dev/OpenServer/NodeLogging.git
synced 2025-07-03 05:31:23 +00:00
Updating dependencies and increasing support of new adapterset architecture
This commit is contained in:
@ -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() {
|
||||
if (process.hrtime.bigint) {
|
||||
return process.hrtime.bigint();
|
||||
|
Reference in New Issue
Block a user