@bamboocss/logger 1.12.1 → 1.12.3

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.
@@ -0,0 +1,16 @@
1
+ import colors from "kleur";
2
+ import { LogEntry, LogLevel } from "@bamboocss/types";
3
+
4
+ //#region src/create-logger.d.ts
5
+ interface LoggerConfig {
6
+ level?: LogLevel;
7
+ filter?: string;
8
+ isDebug?: boolean;
9
+ onLog?: (entry: LogEntry) => void;
10
+ }
11
+ //#endregion
12
+ //#region src/index.d.ts
13
+ declare const quote: (...str: string[]) => string;
14
+ declare const logger: import("@bamboocss/types").LoggerInterface;
15
+ //#endregion
16
+ export { type LoggerConfig, colors, logger, quote };
@@ -0,0 +1,16 @@
1
+ import colors from "kleur";
2
+ import { LogEntry, LogLevel } from "@bamboocss/types";
3
+
4
+ //#region src/create-logger.d.ts
5
+ interface LoggerConfig {
6
+ level?: LogLevel;
7
+ filter?: string;
8
+ isDebug?: boolean;
9
+ onLog?: (entry: LogEntry) => void;
10
+ }
11
+ //#endregion
12
+ //#region src/index.d.ts
13
+ declare const quote: (...str: string[]) => string;
14
+ declare const logger: import("@bamboocss/types").LoggerInterface;
15
+ //#endregion
16
+ export { type LoggerConfig, colors, logger, quote };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bamboocss/logger",
3
- "version": "1.12.1",
3
+ "version": "1.12.3",
4
4
  "description": "The core css bamboo library",
5
5
  "homepage": "https://bamboo-css.com",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "kleur": "4.1.5",
37
- "@bamboocss/types": "1.12.1"
37
+ "@bamboocss/types": "1.12.3"
38
38
  },
39
39
  "devDependencies": {
40
40
  "matcher": "6.0.0"