Show / Hide Table of Contents

Class LogElement

Class representing a node or element of an log entry that can be serialized.

Inheritance
object
LogElement
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: SuperOffice.Diagnostics
Assembly: SoCore.dll
Syntax
public sealed class LogElement

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.

Overrides
object.ToString()

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top