Search Results for

    Show / Hide Table of Contents

    Interface ILogObserver

    Interface that needs to be implemented by any logger

    Namespace: PnP.Framework.Modernization.Telemetry
    Assembly: PnP.Framework.dll
    Syntax
    public interface ILogObserver

    Methods

    Debug(LogEntry)

    Debug Log

    Declaration
    void Debug(LogEntry entry)
    Parameters
    LogEntry entry

    LogEntry object

    Error(LogEntry)

    Error Log

    Declaration
    void Error(LogEntry entry)
    Parameters
    LogEntry entry

    LogEntry object

    Flush()

    Pushes all output to destination and clears the cached log information

    Declaration
    void Flush()

    Flush(Boolean)

    Pushes all output to destination and clears the cached log information if needed

    Declaration
    void Flush(bool clearLogData)
    Parameters
    System.Boolean clearLogData

    Info(LogEntry)

    Log Information

    Declaration
    void Info(LogEntry entry)
    Parameters
    LogEntry entry

    LogEntry object

    SetPageId(String)

    Sets the id of the page that's being transformed

    Declaration
    void SetPageId(string pageId)
    Parameters
    System.String pageId

    id of the page

    Warning(LogEntry)

    Warning Log

    Declaration
    void Warning(LogEntry entry)
    Parameters
    LogEntry entry

    LogEntry object

    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