Class LogEntry
Represents a common Log Entry to use with the EF Logger.
Inheritance
System.Object
LogEntry
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Swan.AspNetCore.Models
Syntax
public class LogEntry
Fields
MaximumExceptionLength
The maximum exception length.
Declaration
public const int MaximumExceptionLength = 2000
Field Value
| Type | Description |
|---|---|
| System.Int32 |
MaximumMessageLength
The maximum message length.
Declaration
public const int MaximumMessageLength = 4000
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Properties
Browser
Gets or sets the browser.
Declaration
public string Browser { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Date
Gets or sets the date.
Declaration
public DateTime Date { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
Exception
Gets or sets the exception.
Declaration
public string Exception { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HostAddress
Gets or sets the host address.
Declaration
public string HostAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
Gets or sets the identifier.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Level
Gets or sets the level.
Declaration
public string Level { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Logger
Gets or sets the logger.
Declaration
public string Logger { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Message
Gets or sets the message.
Declaration
public string Message { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Thread
Gets or sets the thread.
Declaration
public string Thread { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Url
Gets or sets the URL.
Declaration
public string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Username
Gets or sets the username.
Declaration
public string Username { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |