Search Results for

    Show / Hide Table of Contents

    Class LogEntry

    Defines an entry to log

    Inheritance
    System.Object
    LogEntry
    Namespace: PnP.Framework.Modernization.Telemetry
    Assembly: PnP.Framework.dll
    Syntax
    public class LogEntry : object

    Constructors

    LogEntry()

    Create a new Log Entry

    Declaration
    public LogEntry()

    Properties

    CorrelationId

    Gets or sets CorrelationId of type Guid

    Declaration
    public Guid CorrelationId { get; set; }
    Property Value
    Guid

    EntryTime

    Time in which the log entry was made

    Declaration
    public DateTime EntryTime { get; }
    Property Value
    DateTime

    Exception

    Gets or sets Log Exception

    Declaration
    public Exception Exception { get; set; }
    Property Value
    Exception

    Heading

    Specified the logical grouping for the messages based on the stage of transformation

    Declaration
    public string Heading { get; set; }
    Property Value
    System.String

    IgnoreException

    For those areas where we swallow errors or they are non-critical to report

    Declaration
    public bool IgnoreException { get; set; }
    Property Value
    System.Boolean

    IsCriticalException

    Marks this error as a critical exception that prevents transformation

    Declaration
    public bool IsCriticalException { get; set; }
    Property Value
    System.Boolean

    Message

    Gets or sets Log message

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

    PageId

    Page that's being transformed

    Declaration
    public string PageId { get; set; }
    Property Value
    System.String

    Significance

    Extra significance of the entry for the logs

    Declaration
    public LogEntrySignificance Significance { get; set; }
    Property Value
    LogEntrySignificance

    Source

    Gets or sets Log source

    Declaration
    public string Source { get; set; }
    Property Value
    System.String

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer