modality-kit 0.12.0 → 0.12.1
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 +7 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -157,11 +157,13 @@ class ModalityLogger {
|
|
|
157
157
|
case "info": {
|
|
158
158
|
const { message, ...restPayload } = payload;
|
|
159
159
|
console.info(message);
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
160
|
+
if (Object.keys(restPayload).length) {
|
|
161
|
+
console.dir(restPayload, {
|
|
162
|
+
depth: null,
|
|
163
|
+
colors: true,
|
|
164
|
+
maxArrayLength: null
|
|
165
|
+
});
|
|
166
|
+
}
|
|
165
167
|
break;
|
|
166
168
|
}
|
|
167
169
|
case "warn": {
|
package/package.json
CHANGED