-
Notifications
You must be signed in to change notification settings - Fork 0
95d69b99 9754 53d8 577b 02fa86f99982
Axel Kesseler edited this page Mar 1, 2023
·
14 revisions
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
C#
public interface IPersistentLoggerFacade
The IPersistentLoggerFacade type exposes the following members.
Name | Description | |
---|---|---|
Empty | Empties content of provided file. | |
Write(String, Encoding, IEnumerable(String)) | Writes a list of messages at once into provided file using provided encoding. | |
Write(String, Encoding, String) | Writes one message into provided file using provided encoding. |
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.