@bamboocss/logger 1.12.2 → 1.13.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/LICENSE.md +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +16 -0
- package/dist/index.d.mts +16 -0
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2023 Segun Adebayo
|
|
4
|
+
Copyright (c) 2026 Gajus Kuizinas
|
|
4
5
|
|
|
5
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
|
6
7
|
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
ADDED
|
@@ -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/dist/index.d.mts
ADDED
|
@@ -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/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bamboocss/logger",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.1",
|
|
4
4
|
"description": "The core css bamboo library",
|
|
5
|
-
"homepage": "https://
|
|
5
|
+
"homepage": "https://bamboocss.com",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"author": "
|
|
7
|
+
"author": "Gajus Kuizinas <gajus@gajus.com>",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+https://github.com/bamboocss/bamboo.git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"kleur": "4.1.5",
|
|
37
|
-
"@bamboocss/types": "1.
|
|
37
|
+
"@bamboocss/types": "1.13.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"matcher": "6.0.0"
|