serverless-spy
Version:
CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.
14 lines (13 loc) • 360 B
TypeScript
/**
* @public
*
* Represents a logger object that is available in HandlerExecutionContext
* throughout the middleware stack.
*/
export interface Logger {
trace?: (...content: any[]) => void;
debug: (...content: any[]) => void;
info: (...content: any[]) => void;
warn: (...content: any[]) => void;
error: (...content: any[]) => void;
}