Releases: umairsyed613/Serilog.Sinks.WinForms
V2.4.3
V2.4.2
Serilog Dependency fix >= 2.10.0
V2.4.1
Serilog package dependency fix
V2.4.0
Code refactoring added new dependency .base project
V2.3.1
Unsubscribe from the log receive event when the controls are destroyed
v2.3.0
Log For Context
SimpleLogTextBox, RichTextBoxLogControl or JsonLogTextBox can be configured to display log for specific Context.
All of the controls have property For Context which can be configured with namespace.classname for example TestApplication.Form2 you can find the sample here >> Sample
Note: Remember to configure Logger instance with Enrich.FromLogContext()
Save and Clear Logs
SimpleLogTextBox, RichTextBoxLogControl or JsonLogTextBox have two method available for saving log to file or clear the log from the log control.
ClearLogs() AND SaveLogToFile()
Check the usage in the sample application here Sample
v2.2.6
Default template changed to remove space at the end of Message, ScrollToCaret added with all three textbox controls.
Renaming: WriteToSimpleTextBox to WriteToSimpleAndRichTextBox
v2.2.5
Richtextbox control for logs added.
new sample project added for custom textbox log control.
v2.2.4
Transparent background support on simplelogtextbox.
New Control Added with name TransparentSimpleLogTextBox
v2.2.3
Custom formatting can be used when configuring the logger.