/** * @since 1.0.0 */ import type { Logger } from "@aws-lambda-powertools/logger"; import type { ConstructorOptions, LogAttributes, LogItemMessage } from "@aws-lambda-powertools/logger/types"; import * as Effect from "effect/Effect"; import * as Layer from "effect/Layer"; /** * Logs the specified message at the debug log level. * It prints a log item with level DEBUG. * @since 1.0.0 * @category logging */ export declare const logDebug: (input: LogItemMessage, ...extraInput: Array) => Effect.Effect; /** * Logs the specified message at the info log level. * It prints a log item with level INFO. * @since 1.0.0 * @category logging */ export declare const logInfo: (input: LogItemMessage, ...extraInput: Array) => Effect.Effect; /** * Logs the specified message at the warning log level. * It prints a log item with level WARN. * @since 1.0.0 * @category logging */ export declare const logWarning: (input: LogItemMessage, ...extraInput: Array) => Effect.Effect; /** * Logs the specified message at the error log level. * It prints a log item with level ERROR. * @since 1.0.0 * @category logging */ export declare const logError: (input: LogItemMessage, ...extraInput: Array) => Effect.Effect; /** * Logs the specified message at the fatal log level. * It prints a log item with level CRITICAL. * @since 1.0.0 * @category logging */ export declare const logFatal: (input: LogItemMessage, ...extraInput: Array) => Effect.Effect; /** * Logs the specified message at the fatal log level. * It prints a log item with level CRITICAL. * @since 1.0.0 * @category logging * @alias logFatal */ export declare const logCritical: (input: LogItemMessage, ...extraInput: Array) => Effect.Effect; /** * Creates a logger layer implementation that uses the default AWS Lambda Powertools Logger instance. * * @since 1.0.0 * @category layers */ export declare const defaultLayer: Layer.Layer; /** * Creates a logger layer implementation that uses the AWS Lambda Powertools Logger instance configured with provided options. * * @since 1.0.0 * @category layers */ export declare const layer: (options: ConstructorOptions) => Layer.Layer; /** * Creates a logger layer implementation that uses a provided AWS Lambda Powertools Logger instance. * * @since 1.0.0 * @category layers */ export declare const baseLayer: (evaluate: (defaultOptions: ConstructorOptions) => Logger) => Layer.Layer; //# sourceMappingURL=Logger.d.ts.map