@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.
@@ -0,0 +1 @@
1
+ export * from './utils';
@@ -0,0 +1,5 @@
1
+ /** ---------------------------------------------------------
2
+ * Detect Environment
3
+ * --------------------------------------------------------- */
4
+ export declare const IS_BROWSER: boolean;
5
+ export declare const IS_NODE: boolean;
@@ -1,10 +1,3 @@
1
- /** ---------------------------------------------------------
2
- * Core Logger
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';
@@ -0,0 +1,5 @@
1
+ /** ---------------------------------------------------------
2
+ * Detect Environment
3
+ * --------------------------------------------------------- */
4
+ export declare const IS_BROWSER: boolean;
5
+ export declare const IS_NODE: boolean;
@@ -1,14 +1,5 @@
1
- import * as winston from 'winston';
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 { createChildLogger, getLogString, logger };
5
+ export { getLogString, logger };
@@ -1,10 +1,3 @@
1
- /** ---------------------------------------------------------
2
- * Core Logger
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putkoff/abstract-logger",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "type": "module",
5
5
  "description": "Lightweight TypeScript logger wrapper with auto-context tracing and Winston integration.",
6
6
  "main": "dist/cjs/index.js",