Skip to content

Event for logging - #20

Merged
GlaireDaggers merged 1 commit into
masterfrom
unknown repository
Feb 9, 2023
Merged

GlaireDaggers merged 1 commit into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Jan 25, 2019

Copy link
Copy Markdown

I was planning on using this library in a project that uses Serilog for its logging. To accomplish this, I added an event that fires when the log(...) method is called. The original behavior can easily be restored on the user's end by adding a handler to Server.OnLogMessage that Console.Write(...)s the event data.

This is to allow the use of external loggers such as log4net or serilog. Documentation has been updated accordingly.
@GlaireDaggers
GlaireDaggers merged commit f7f9d0d into GlaireDaggers:master Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants