@pandacss/logger 0.21.0 → 0.22.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.d.mts CHANGED
@@ -8,6 +8,7 @@ declare const createLogScope: (scope: string) => {
8
8
  declare const quote: (...str: string[]) => string;
9
9
  declare const logger: {
10
10
  level: "debug" | "info" | "warn" | "error" | "silent";
11
+ print(data: any): void;
11
12
  warn: (type: string, data: any) => void;
12
13
  info: (type: string, data: any) => void;
13
14
  debug: (type: string, data: any) => void;
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ declare const createLogScope: (scope: string) => {
8
8
  declare const quote: (...str: string[]) => string;
9
9
  declare const logger: {
10
10
  level: "debug" | "info" | "warn" | "error" | "silent";
11
+ print(data: any): void;
11
12
  warn: (type: string, data: any) => void;
12
13
  info: (type: string, data: any) => void;
13
14
  debug: (type: string, data: any) => void;
package/dist/index.js CHANGED
@@ -229,6 +229,9 @@ var createLogger = (conf = {}) => {
229
229
  set level(newLevel) {
230
230
  level = newLevel;
231
231
  },
232
+ print(data) {
233
+ console.dir(data, { depth: null, colors: true });
234
+ },
232
235
  warn: stdout("warn"),
233
236
  info: stdout("info"),
234
237
  debug: stdout("debug"),
package/dist/index.mjs CHANGED
@@ -192,6 +192,9 @@ var createLogger = (conf = {}) => {
192
192
  set level(newLevel) {
193
193
  level = newLevel;
194
194
  },
195
+ print(data) {
196
+ console.dir(data, { depth: null, colors: true });
197
+ },
195
198
  warn: stdout("warn"),
196
199
  info: stdout("info"),
197
200
  debug: stdout("debug"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/logger",
3
- "version": "0.21.0",
3
+ "version": "0.22.1",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",