pip-services-logging-node
Version:
Distributed trace logging microservice in Node.js
13 lines (11 loc) • 606 B
text/typescript
import { Descriptor } from 'pip-services3-commons-node';
import { CommandableLambdaFunction } from 'pip-services3-aws-node';
import { LoggingServiceFactory } from '../build/LoggingServiceFactory';
export class LoggingLambdaFunction extends CommandableLambdaFunction {
public constructor() {
super("logging", "Trace logging function");
this._dependencyResolver.put('controller', new Descriptor('pip-services-logging', 'controller', 'default', '*', '*'));
this._factories.add(new LoggingServiceFactory());
}
}
export const handler = new LoggingLambdaFunction().getHandler();