moost 0.5.9 → 0.5.11

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/index.cjs CHANGED
@@ -55,6 +55,7 @@ function getMoostMate() {
55
55
  }
56
56
 
57
57
  const sharedMoostInfact = getNewMoostInfact();
58
+ const INFACT_BANNER = `${'' + ''}infact`;
58
59
  let loggingOptions = {
59
60
  newInstance: 'SINGLETON',
60
61
  warn: true,
@@ -137,10 +138,10 @@ function getNewMoostInfact() {
137
138
  }
138
139
  let logger;
139
140
  try {
140
- logger = event === 'error' ? getDefaultLogger('infact') : eventCore.useEventLogger('infact');
141
+ logger = event === 'error' ? getDefaultLogger(INFACT_BANNER) : eventCore.useEventLogger(INFACT_BANNER);
141
142
  }
142
143
  catch (error) {
143
- logger = getDefaultLogger('infact');
144
+ logger = getDefaultLogger(INFACT_BANNER);
144
145
  }
145
146
  const instance = `${''}${targetClass.name}${''}`;
146
147
  switch (event) {
package/dist/index.mjs CHANGED
@@ -57,6 +57,7 @@ function getMoostMate() {
57
57
  }
58
58
 
59
59
  const sharedMoostInfact = getNewMoostInfact();
60
+ const INFACT_BANNER = `${'' + ''}infact`;
60
61
  let loggingOptions = {
61
62
  newInstance: 'SINGLETON',
62
63
  warn: true,
@@ -139,10 +140,10 @@ function getNewMoostInfact() {
139
140
  }
140
141
  let logger;
141
142
  try {
142
- logger = event === 'error' ? getDefaultLogger('infact') : useEventLogger('infact');
143
+ logger = event === 'error' ? getDefaultLogger(INFACT_BANNER) : useEventLogger(INFACT_BANNER);
143
144
  }
144
145
  catch (error) {
145
- logger = getDefaultLogger('infact');
146
+ logger = getDefaultLogger(INFACT_BANNER);
146
147
  }
147
148
  const instance = `${''}${targetClass.name}${''}`;
148
149
  switch (event) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moost",
3
- "version": "0.5.9",
3
+ "version": "0.5.11",
4
4
  "description": "moost",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",