Skip to content

95d69b99 9754 53d8 577b 02fa86f99982

Axel Kesseler edited this page Mar 1, 2023 · 14 revisions

IPersistentLoggerFacade Interface

This interface represents all actions needed to natively write messages into a logging file.

Namespace: Plexdata.LogWriter.Abstraction
Assembly: Plexdata.LogWriter.Persistent (in Plexdata.LogWriter.Persistent.dll) Version: 1.0.7.1

Syntax

C#

public interface IPersistentLoggerFacade

The IPersistentLoggerFacade type exposes the following members.

Methods

 

Name Description
Public method Empty Empties content of provided file.
Public method Write(String, Encoding, IEnumerable(String)) Writes a list of messages at once into provided file using provided encoding.
Public method Write(String, Encoding, String) Writes one message into provided file using provided encoding.
  Back to Top

Remarks

The interface is required as an abstraction between the persistent logger itself and the implementation of the native file writing. This interface might be re-implemented if a different access to the native file writing becomes necessary.

See Also

Reference

Plexdata.LogWriter.Abstraction Namespace

Clone this wiki locally