fable 3.0.89 → 3.0.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fable.compatible.js +5 -9
- package/dist/fable.compatible.min.js +1 -1
- package/dist/fable.compatible.min.js.map +1 -1
- package/dist/fable.js +5 -9
- package/dist/fable.min.js +1 -1
- package/dist/fable.min.js.map +1 -1
- package/package.json +1 -1
- package/source/Fable.js +4 -1
- package/source/services/Fable-Service-Operation.js +1 -8
package/package.json
CHANGED
package/source/Fable.js
CHANGED
|
@@ -48,6 +48,9 @@ class Fable extends libFableServiceBase.CoreServiceProviderBase
|
|
|
48
48
|
// This is the start actual bootstrapping point for fable.
|
|
49
49
|
// For consistency fable is treated as a service.
|
|
50
50
|
this.ServiceManager = this;
|
|
51
|
+
// TODO: Remove this when Orator and meadow-endpoints are shifted to this new pattern
|
|
52
|
+
this.serviceManager = this;
|
|
53
|
+
// END TODO
|
|
51
54
|
this.connectFable(this);
|
|
52
55
|
// --> Bootstrapping of fable into the Service Manager is complete
|
|
53
56
|
|
|
@@ -249,4 +252,4 @@ module.exports.LogProviderBase = libFableLog.LogProviderBase;
|
|
|
249
252
|
module.exports.ServiceProviderBase = libFableServiceBase;
|
|
250
253
|
module.exports.CoreServiceProviderBase = libFableServiceBase.CoreServiceProviderBase;
|
|
251
254
|
|
|
252
|
-
module.exports.precedent = libFableSettings.precedent;
|
|
255
|
+
module.exports.precedent = libFableSettings.precedent;
|
|
@@ -122,7 +122,7 @@ class FableOperation extends libFableServiceBase
|
|
|
122
122
|
|
|
123
123
|
writeOperationLog(pLogLevel, pLogText, pLogObject)
|
|
124
124
|
{
|
|
125
|
-
this.state.Log.push(
|
|
125
|
+
this.state.Log.push(`[${new Date().toUTCString()}]-[${pLogLevel}]: ${pLogText}`);
|
|
126
126
|
|
|
127
127
|
if (typeof(pLogObject) == 'object')
|
|
128
128
|
{
|
|
@@ -140,7 +140,6 @@ class FableOperation extends libFableServiceBase
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
|
|
144
143
|
trace(pLogText, pLogObject)
|
|
145
144
|
{
|
|
146
145
|
this.writeOperationLog('TRACE', pLogText, pLogObject);
|
|
@@ -358,12 +357,6 @@ class FableOperation extends libFableServiceBase
|
|
|
358
357
|
}
|
|
359
358
|
}
|
|
360
359
|
}
|
|
361
|
-
// logMemoryResourcesUsed()
|
|
362
|
-
// {
|
|
363
|
-
//
|
|
364
|
-
// const tmpResourcesUsed = process.memoryUsage().heapUsed / 1024 / 1024;
|
|
365
|
-
// this.info(`Memory usage at ${Math.round(tmpResourcesUsed * 100) / 100} MB`);
|
|
366
|
-
// }
|
|
367
360
|
/*
|
|
368
361
|
* END OF --> Logging and Telemetry Helpers
|
|
369
362
|
************************************************************************/
|