modality-kit 0.0.8 → 0.0.9
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.js +2 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -90,8 +90,7 @@ class ModalityLogger {
|
|
|
90
90
|
}
|
|
91
91
|
format(level, payload, categroy) {
|
|
92
92
|
const timestamp = this.getTimestamp();
|
|
93
|
-
let prefix =
|
|
94
|
-
`;
|
|
93
|
+
let prefix = "";
|
|
95
94
|
switch (level) {
|
|
96
95
|
case "debug":
|
|
97
96
|
prefix = "\uD83D\uDD0D";
|
|
@@ -108,8 +107,6 @@ class ModalityLogger {
|
|
|
108
107
|
case "success":
|
|
109
108
|
prefix = "✅";
|
|
110
109
|
break;
|
|
111
|
-
default:
|
|
112
|
-
prefix = "";
|
|
113
110
|
}
|
|
114
111
|
if (timestamp) {
|
|
115
112
|
prefix += ` [${timestamp}]`;
|
|
@@ -120,6 +117,7 @@ class ModalityLogger {
|
|
|
120
117
|
if (categroy) {
|
|
121
118
|
prefix += ` [${categroy}]`;
|
|
122
119
|
}
|
|
120
|
+
console.log("");
|
|
123
121
|
console.log(prefix);
|
|
124
122
|
return payload;
|
|
125
123
|
}
|
package/package.json
CHANGED