Skip to content

Adapt async log queue from cinderbox for SMAPI - #1037

Open
Mushymato wants to merge 1 commit into
Pathoschild:developfrom
Mushymato:async.logger
Open

Adapt async log queue from cinderbox for SMAPI#1037
Mushymato wants to merge 1 commit into
Pathoschild:developfrom
Mushymato:async.logger

Conversation

@Mushymato

Copy link
Copy Markdown

Adapt the AsyncLogQueue from SMAPI-for-Cinderbox
https://github.com/Ekyso/SMAPI-For-Cinderbox/blob/2d499a9cf2521d2b97552988f30f7989e7bb4247/src/SMAPI/Framework/Logging/AsyncLogQueue.cs

This change moves logging to a background worker and makes monitor thread safe as a result.
It also has minor performance benefits as less work is being done on main thread.

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.

1 participant