Class LogElement
Class representing a node or element of an log entry that can be serialized.
Namespace: SuperOffice.Diagnostics
Assembly: SoCore.dll
Syntax
public sealed class LogElement : Object
Constructors
LogElement()
This constructor is only to be used by the serializer!
Declaration
public LogElement()
Properties
Details
Detailed description (e.g. this could be the StackTrace of the exception or other detailed information.
Declaration
public string Details { get; }
Property Value
Type | Description |
---|---|
String |
InnerElement
Further detailed element. This could be an inner exception in the case of logging an exception.
Declaration
public LogElement InnerElement { get; }
Property Value
Type | Description |
---|---|
LogElement |
Message
Brief description.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
String |
SourceType
A Type (e.g. Exception or current class) that is relevant.
Declaration
public Type SourceType { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
ToString()
Get a string containing the entire errormessage.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The entire error message. |
Extension Methods
EnumUtil.MapEnums<From, To>(From)