@plyaz/types 1.14.4 → 1.14.5

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.
@@ -21,6 +21,7 @@ export interface LoggerInterface {
21
21
  }
22
22
  export type LoggerMethodTypes = 'debug' | 'info' | 'warn' | 'error' | 'fatal';
23
23
  export type LoggerEnvironment = 'development' | 'production' | 'staging';
24
+ export type LoggerTransport = 'pino' | 'console';
24
25
  /**
25
26
  * Configuration for PackageLogger instances
26
27
  */
@@ -35,6 +36,8 @@ export interface PackageLoggerConfig {
35
36
  correlationId?: string;
36
37
  /** Minimum log level to output */
37
38
  minLevel?: LoggerMethodTypes;
39
+ /** Transport type: 'pino' (structured JSON) or 'console' (formatted output with ANSI colors). Default: 'pino' */
40
+ transport?: LoggerTransport;
38
41
  }
39
42
  /**
40
43
  * Extended logger interface with package context support
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/types",
3
- "version": "1.14.4",
3
+ "version": "1.14.5",
4
4
  "author": "Redeemer Pace",
5
5
  "license": "ISC",
6
6
  "description": "Provides shared TypeScript types and schema utilities for validation and parsing in the @playz ecosystem.",