PortablePrism.Portable by Andrii Chebukin

<PackageReference Include="PortablePrism.Portable" Version="1.0.1" />

 TextLogger

Implementation of ILoggerFacade that logs into a TextWriter.
public TextLogger()

Initializes a new instance of TextLogger that writes to the console output.

public TextLogger(TextWriter writer)

Initializes a new instance of TextLogger.

protected virtual void Dispose(bool disposing)

Disposes the associated TextWriter.

public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Log(string message, Category category, Priority priority)

Write a new log entry with the specified category and priority.