auth0-lambda-authorizer
Version:
An Auth0 Authorizer for AWS Lambda
12 lines • 942 B
JavaScript
exports.__esModule = true;
var typescript_logging_1 = require("typescript-logging");
var options = new typescript_logging_1.LoggerFactoryOptions()
.addLogGroupRule(new typescript_logging_1.LogGroupRule(new RegExp("lambda.+"), typescript_logging_1.LogLevel.Info))
.addLogGroupRule(new typescript_logging_1.LogGroupRule(new RegExp("lambda.+"), typescript_logging_1.LogLevel.Error))
.addLogGroupRule(new typescript_logging_1.LogGroupRule(new RegExp("lambda.+"), typescript_logging_1.LogLevel.Warn))
.addLogGroupRule(new typescript_logging_1.LogGroupRule(new RegExp("lambda.+"), typescript_logging_1.LogLevel.Debug));
// Create a named loggerfactory and pass in the options and export the factory.
// Named is since version 0.2.+ (it's recommended for future usage)
exports.logFactory = typescript_logging_1.LFService.createNamedLoggerFactory("Auth0LambdaAuthorizer", options);
//# sourceMappingURL=logFactory.js.map
;