@vllnt/logger 0.1.2-canary.264fd57 → 0.1.2-canary.b25706a
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/convex.d.ts
CHANGED
|
@@ -58,4 +58,5 @@ declare function consoleOutput(entry: LogEntry): void;
|
|
|
58
58
|
/** Compose outputs into a single LogOutput. Each output runs in isolation. */
|
|
59
59
|
declare function composeOutputs(...outputs: LogOutput[]): LogOutput;
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { composeOutputs as f, consoleOutput as g, createExtendedLogger as h, createLogger as i, formatLogEntry as j, parseLogLevel as p };
|
|
62
|
+
export type { ExtendedLogger as E, LogLevel as L, LogData as a, LogEntry as b, LogOutput as c, Logger as d, LoggerConfig as e };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as ExtendedLogger } from './core-
|
|
2
|
-
export {
|
|
1
|
+
import { E as ExtendedLogger } from './core-C-OXVrV2.js';
|
|
2
|
+
export { a as LogData, b as LogEntry, L as LogLevel, c as LogOutput, d as Logger, e as LoggerConfig, f as composeOutputs, g as consoleOutput, h as createExtendedLogger, i as createLogger, j as formatLogEntry, p as parseLogLevel } from './core-C-OXVrV2.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @vllnt/logger — Backend preset.
|
package/dist/posthog.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LogOutput } from './index.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @vllnt/logger — PostHog output adapter.
|
|
@@ -15,4 +15,5 @@ type PostHogCapture = (event: string, properties?: Record<string, unknown>) => v
|
|
|
15
15
|
*/
|
|
16
16
|
declare function createPostHogOutput(capture: PostHogCapture): LogOutput;
|
|
17
17
|
|
|
18
|
-
export {
|
|
18
|
+
export { createPostHogOutput };
|
|
19
|
+
export type { PostHogCapture };
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LogEntry, LogOutput } from './index.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @vllnt/logger — Test utilities.
|
|
@@ -14,4 +14,5 @@ type TestOutput = {
|
|
|
14
14
|
/** Create a test output that captures entries into an array for assertion. */
|
|
15
15
|
declare function createTestOutput(): TestOutput;
|
|
16
16
|
|
|
17
|
-
export {
|
|
17
|
+
export { createTestOutput };
|
|
18
|
+
export type { TestOutput };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vllnt/logger",
|
|
3
|
-
"version": "0.1.2-canary.
|
|
3
|
+
"version": "0.1.2-canary.b25706a",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Structured logging for the @vllnt ecosystem",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"registry": "https://registry.npmjs.org/"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/node": "^
|
|
40
|
-
"@vllnt/eslint-config": "^
|
|
41
|
-
"@vllnt/typescript": "^
|
|
42
|
-
"eslint": "^9.39.
|
|
43
|
-
"prettier": "^3.
|
|
44
|
-
"tsup": "^
|
|
45
|
-
"typescript": "^
|
|
46
|
-
"vitest": "^
|
|
39
|
+
"@types/node": "^26.6.5",
|
|
40
|
+
"@vllnt/eslint-config": "^2.0.0",
|
|
41
|
+
"@vllnt/typescript": "^2.0.0",
|
|
42
|
+
"eslint": "^9.39.5",
|
|
43
|
+
"prettier": "^3.9.10",
|
|
44
|
+
"tsup": "^9.0.0",
|
|
45
|
+
"typescript": "^6.0.3",
|
|
46
|
+
"vitest": "^5.0.5"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsup",
|