Interface ILambdaErrorReportGenerator
The ILambda
Namespace: LambdaSharp.Logging.ErrorReports
Assembly: LambdaSharp.Logging.dll
Syntax
public interface ILambdaErrorReportGenerator
Methods
CreateReport(String, String, Exception, String, Object[])
The Create
Declaration
LambdaErrorReport CreateReport(string requestId, string level, Exception exception, string format = null, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System. |
requestId | The AWS request ID. |
System. |
level | The severity level of the error report. |
System. |
exception | An optional exception instance. |
System. |
format | An optional message. |
System. |
args | Optional arguments for the error message. |
Returns
Type | Description |
---|---|
Lambda |
A new Lambda |
Remarks
See args
parameter
impacts the processing of the format
parameter.