moost 0.5.3 → 0.5.5
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -959,8 +959,8 @@ class Moost extends hookable.Hookable {
|
|
|
959
959
|
return this;
|
|
960
960
|
}
|
|
961
961
|
logMappedHandler(eventName, classConstructor, method, stroke, prefix) {
|
|
962
|
-
const c = stroke ?
|
|
963
|
-
const coff = stroke ?
|
|
962
|
+
const c = stroke ? '\u001B[9m' : '';
|
|
963
|
+
const coff = stroke ? '\u001B[29m' : '';
|
|
964
964
|
this.logger.info(`${prefix || ''}${c}${eventName} ${'[0m' + '[2m' + '[32m' + c}→ ${classConstructor.name}.${'[36m' + c}${method}${'[32m'}()${coff}`);
|
|
965
965
|
}
|
|
966
966
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -961,8 +961,8 @@ class Moost extends Hookable {
|
|
|
961
961
|
return this;
|
|
962
962
|
}
|
|
963
963
|
logMappedHandler(eventName, classConstructor, method, stroke, prefix) {
|
|
964
|
-
const c = stroke ?
|
|
965
|
-
const coff = stroke ?
|
|
964
|
+
const c = stroke ? '\u001B[9m' : '';
|
|
965
|
+
const coff = stroke ? '\u001B[29m' : '';
|
|
966
966
|
this.logger.info(`${prefix || ''}${c}${eventName} ${'[0m' + '[2m' + '[32m' + c}→ ${classConstructor.name}.${'[36m' + c}${method}${'[32m'}()${coff}`);
|
|
967
967
|
}
|
|
968
968
|
}
|