Show / Hide Table of Contents

Class LambdaErrorReport

The LambdaErrorReport class defines a structured Lambda log entry for runtime errors and warnings.

Inheritance
System.Object
ALambdaLogRecord
LambdaErrorReport
Inherited Members
ALambdaLogRecord.Type
ALambdaLogRecord.Version
Namespace: LambdaSharp.Logging.ErrorReports.Models
Assembly: LambdaSharp.Logging.dll
Syntax
public class LambdaErrorReport : ALambdaLogRecord

Constructors

LambdaErrorReport()

Create a new LambdaErrorReport instance.

Declaration
public LambdaErrorReport()

Properties

AppId

The AppId property describes the application identifier.

Declaration
public string AppId { get; set; }
Property Value
Type Description
System.String

The application identifier.

Examples

Sample application identifier:

MyCloudFormationStack-MyApp

AppName

The AppName property describes the application name.

Declaration
public string AppName { get; set; }
Property Value
Type Description
System.String

The application name.

Examples

Sample application name:

MyApp

Fingerprint

The Fingerprint property holds a unique value by which to group related LambdaError records.

Declaration
public string Fingerprint { get; set; }
Property Value
Type Description
System.String

The log entry fingerprint.

Framework

The Framework property describes the Lambda function or app execution framework.

Declaration
public string Framework { get; set; }
Property Value
Type Description
System.String

The Lambda execution framework.

Examples

Sample Lambda execution framework:

dotnetcore2.2

FunctionId

The FunctionId property describes the ID of the deployed Lambda function.

Declaration
public string FunctionId { get; set; }
Property Value
Type Description
System.String

The ID of the deployed Lambda function.

Examples

Sample function ID:

DevTier-MyAcmeModule-MyFunction-VDLETAGVFYT2

FunctionName

The FunctionName property describes the Lambda function name.

Declaration
public string FunctionName { get; set; }
Property Value
Type Description
System.String

The Lambda function name.

Examples

Sample function name:

MyFunction

GitBranch

The GitBranch property holds the git branch name of the executing Lambda code or null if not provided.

Declaration
public string GitBranch { get; set; }
Property Value
Type Description
System.String

The git branch name or null.

GitSha

The GitSha property holds the git SHA of the executing Lambda code or null if not provided.

Declaration
public string GitSha { get; set; }
Property Value
Type Description
System.String

The git SHA or null.

Language

The Language property describes the Lambda function or app implementation language.

Declaration
public string Language { get; set; }
Property Value
Type Description
System.String

The Lambda implementation language.

Examples

Sample Lambda implementation language:

csharp

Level

The Level property describes the severity level of the error log entry. One of WARNING, ERROR, or FATAL.

Declaration
public string Level { get; set; }
Property Value
Type Description
System.String

The error severity level.

Message

The Message property holds the message of the error log entry.

Declaration
public string Message { get; set; }
Property Value
Type Description
System.String

The error log entry message.

Module

The Module property describes the LambdaSharp module name.

Declaration
public string Module { get; set; }
Property Value
Type Description
System.String

The LambdaSharp module name.

Examples

Sample module name:

My.AcmeModule

ModuleId

The ModuleId property describes the stack name of the deployed LambdaSharp module.

Declaration
public string ModuleId { get; set; }
Property Value
Type Description
System.String

The stack name of the deployed LambdaSharp module.

Examples

Sample module ID:

DevTier-MyAcmeModule

ModuleInfo

The ModuleInfo property describes the LambdaSharp module name, version, and origin.

Declaration
public string ModuleInfo { get; set; }
Property Value
Type Description
System.String

The LambdaSharp module name and version.

Examples

Sample module name and version:

My.AcmeModule:1.0-Dev@origin

Platform

The Platform property describes the Lambda function or app execution platform.

Declaration
public string Platform { get; set; }
Property Value
Type Description
System.String

The Lambda execution platform.

Examples

Sample Lambda execution platform:

AWS Lambda (Unix 4.14.72.68)

Raw

The Raw property holds the unprocessed error log entry.

Declaration
public string Raw { get; set; }
Property Value
Type Description
System.String

The unprocessed error log entry.

RequestId

The RequestId property holds the AWS request ID during which the error log entry was generated.

Declaration
public string RequestId { get; set; }
Property Value
Type Description
System.String

The AWS request ID.

Timestamp

The Timestamp property holds the UNIX epoch in milliseconds when the error log entry was generated.

Declaration
public long Timestamp { get; set; }
Property Value
Type Description
System.Int64

The UNIX epoch in milliseconds timestamp.

Traces

The Traces property describes the error stack traces or null if none are provided.

Declaration
public IEnumerable<LambdaErrorReportStackTrace> Traces { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<LambdaErrorReportStackTrace>

Enumeration of error stack traces.

In This Article
Back to top Generated by DocFX