@aws-lambda-powertools/logger
Advanced tools
Comparing version
import { Utility } from '@aws-lambda-powertools/commons'; | ||
import type { HandlerMethodDecorator } from '@aws-lambda-powertools/commons/types'; | ||
import type { Context } from 'aws-lambda'; | ||
import type { LogItem } from './formatter/LogItem.js'; | ||
import type { ConstructorOptions, InjectLambdaContextOptions, LogAttributes, LogItemExtraInput, LogItemMessage, LogLevel, LoggerInterface } from './types/Logger.js'; | ||
@@ -389,3 +390,3 @@ /** | ||
*/ | ||
private createAndPopulateLogItem; | ||
protected createAndPopulateLogItem(logLevel: number, input: LogItemMessage, extraInput: LogItemExtraInput): LogItem; | ||
/** | ||
@@ -435,3 +436,3 @@ * Get the custom config service, an abstraction used to fetch environment variables. | ||
*/ | ||
private printLog; | ||
protected printLog(logLevel: number, log: LogItem): void; | ||
/** | ||
@@ -444,3 +445,3 @@ * Print a given log with given log level. | ||
*/ | ||
private processLogItem; | ||
protected processLogItem(logLevel: number, input: LogItemMessage, extraInput: LogItemExtraInput): void; | ||
/** | ||
@@ -447,0 +448,0 @@ * Initialize the console property as an instance of the internal version of Console() class (PR #748) |
import { Utility } from '@aws-lambda-powertools/commons'; | ||
import type { HandlerMethodDecorator } from '@aws-lambda-powertools/commons/types'; | ||
import type { Context } from 'aws-lambda'; | ||
import type { LogItem } from './formatter/LogItem.js'; | ||
import type { ConstructorOptions, InjectLambdaContextOptions, LogAttributes, LogItemExtraInput, LogItemMessage, LogLevel, LoggerInterface } from './types/Logger.js'; | ||
@@ -389,3 +390,3 @@ /** | ||
*/ | ||
private createAndPopulateLogItem; | ||
protected createAndPopulateLogItem(logLevel: number, input: LogItemMessage, extraInput: LogItemExtraInput): LogItem; | ||
/** | ||
@@ -435,3 +436,3 @@ * Get the custom config service, an abstraction used to fetch environment variables. | ||
*/ | ||
private printLog; | ||
protected printLog(logLevel: number, log: LogItem): void; | ||
/** | ||
@@ -444,3 +445,3 @@ * Print a given log with given log level. | ||
*/ | ||
private processLogItem; | ||
protected processLogItem(logLevel: number, input: LogItemMessage, extraInput: LogItemExtraInput): void; | ||
/** | ||
@@ -447,0 +448,0 @@ * Initialize the console property as an instance of the internal version of Console() class (PR #748) |
{ | ||
"name": "@aws-lambda-powertools/logger", | ||
"version": "2.11.0", | ||
"version": "2.12.0", | ||
"description": "The logging package for the Powertools for AWS Lambda (TypeScript) library", | ||
@@ -28,7 +28,7 @@ "author": { | ||
"dependencies": { | ||
"@aws-lambda-powertools/commons": "^2.11.0", | ||
"@aws-lambda-powertools/commons": "^2.12.0", | ||
"lodash.merge": "^4.6.2" | ||
}, | ||
"peerDependencies": { | ||
"@middy/core": "4.x || 5.x" | ||
"@middy/core": "4.x || 5.x || 6.x" | ||
}, | ||
@@ -35,0 +35,0 @@ "peerDependenciesMeta": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
255248
0.4%5642
0.04%+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed