@putkoff/abstract-logger 0.0.13 → 0.0.15
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/cjs/index.js +110 -70
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/detect/index.d.ts +1 -0
- package/dist/cjs/types/detect/utils.d.ts +5 -0
- package/dist/cjs/types/logger/logger.d.ts +2 -9
- package/dist/esm/index.js +111 -70
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/detect/index.d.ts +1 -0
- package/dist/esm/types/detect/utils.d.ts +5 -0
- package/dist/esm/types/logger/logger.d.ts +2 -9
- package/dist/types/detect/index.d.ts +1 -0
- package/dist/types/detect/utils.d.ts +5 -0
- package/dist/types/index.d.ts +3 -12
- package/dist/types/logger/logger.d.ts +2 -9
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './utils';
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
* --------------------------------------------------------- */
|
|
4
|
-
export declare const logger: import("winston").Logger;
|
|
5
|
-
/** Child logger factory */
|
|
6
|
-
export declare function createChildLogger(label: string): import("winston").Logger;
|
|
7
|
-
/** ---------------------------------------------------------
|
|
8
|
-
* ZERO-BOILERPLATE getLogString
|
|
9
|
-
* --------------------------------------------------------- */
|
|
1
|
+
/** Exported logger */
|
|
2
|
+
export declare const logger: any;
|
|
10
3
|
export declare function getLogString(message: string, details?: any, logType?: "info" | "warn" | "error" | "debug", consumerLogger?: any): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './utils';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** ---------------------------------------------------------
|
|
4
|
-
* Core Logger
|
|
5
|
-
* --------------------------------------------------------- */
|
|
6
|
-
declare const logger: winston.Logger;
|
|
7
|
-
/** Child logger factory */
|
|
8
|
-
declare function createChildLogger(label: string): winston.Logger;
|
|
9
|
-
/** ---------------------------------------------------------
|
|
10
|
-
* ZERO-BOILERPLATE getLogString
|
|
11
|
-
* --------------------------------------------------------- */
|
|
1
|
+
/** Exported logger */
|
|
2
|
+
declare const logger: any;
|
|
12
3
|
declare function getLogString(message: string, details?: any, logType?: "info" | "warn" | "error" | "debug", consumerLogger?: any): string;
|
|
13
4
|
|
|
14
|
-
export {
|
|
5
|
+
export { getLogString, logger };
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
* --------------------------------------------------------- */
|
|
4
|
-
export declare const logger: import("winston").Logger;
|
|
5
|
-
/** Child logger factory */
|
|
6
|
-
export declare function createChildLogger(label: string): import("winston").Logger;
|
|
7
|
-
/** ---------------------------------------------------------
|
|
8
|
-
* ZERO-BOILERPLATE getLogString
|
|
9
|
-
* --------------------------------------------------------- */
|
|
1
|
+
/** Exported logger */
|
|
2
|
+
export declare const logger: any;
|
|
10
3
|
export declare function getLogString(message: string, details?: any, logType?: "info" | "warn" | "error" | "debug", consumerLogger?: any): string;
|
package/package.json
CHANGED