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)
Error(LogEntry)
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)
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 |