@xylabs/log 2.10.17 → 2.11.0

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/Log.d.ts ADDED
@@ -0,0 +1,17 @@
1
+ export interface LogConfig {
2
+ commitHash?: string;
3
+ devMode?: boolean;
4
+ payload?: Record<string, unknown>;
5
+ rollbarToken?: string;
6
+ }
7
+ export declare class Log {
8
+ private devMode?;
9
+ private rollbar?;
10
+ constructor(config: LogConfig);
11
+ debug(...params: any[]): void;
12
+ error(...params: any[]): void;
13
+ info(...params: any[]): void;
14
+ log(...params: any[]): void;
15
+ warn(...params: any[]): void;
16
+ }
17
+ //# sourceMappingURL=Log.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Log.d.ts","sourceRoot":"","sources":["../src/Log.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,SAAS;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,qBAAa,GAAG;IACd,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,OAAO,CAAC,OAAO,CAAC,CAAS;gBAEb,MAAM,EAAE,SAAS;IA6B7B,KAAK,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;IAOtB,KAAK,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;IAQtB,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;IAOrB,GAAG,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;IAOpB,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;CAMtB"}
package/dist/index.d.mts CHANGED
@@ -1,18 +1,2 @@
1
- interface LogConfig {
2
- commitHash?: string;
3
- devMode?: boolean;
4
- payload?: Record<string, unknown>;
5
- rollbarToken?: string;
6
- }
7
- declare class Log {
8
- private devMode?;
9
- private rollbar?;
10
- constructor(config: LogConfig);
11
- debug(...params: any[]): void;
12
- error(...params: any[]): void;
13
- info(...params: any[]): void;
14
- log(...params: any[]): void;
15
- warn(...params: any[]): void;
16
- }
17
-
18
- export { Log, LogConfig };
1
+ export * from './Log';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,18 +1,2 @@
1
- interface LogConfig {
2
- commitHash?: string;
3
- devMode?: boolean;
4
- payload?: Record<string, unknown>;
5
- rollbarToken?: string;
6
- }
7
- declare class Log {
8
- private devMode?;
9
- private rollbar?;
10
- constructor(config: LogConfig);
11
- debug(...params: any[]): void;
12
- error(...params: any[]): void;
13
- info(...params: any[]): void;
14
- log(...params: any[]): void;
15
- warn(...params: any[]): void;
16
- }
17
-
18
- export { Log, LogConfig };
1
+ export * from './Log';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA"}