Reducing log sizes (#724)

* Separated out log's into a separate file for each run. It will keep up to 3

* Rebase part 2

Co-authored-by: Andy Adshead <andy.075109@hotmail.co.uk>
This commit is contained in:
BaronKiko 2020-02-12 01:18:33 +00:00 committed by GitHub
parent 3aa3c4261a
commit 505f95848b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View file

@ -78,7 +78,7 @@ namespace Ryujinx.Configuration
if (e.NewValue)
{
Logger.AddTarget(new AsyncLogTargetWrapper(
new FileLogTarget(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Ryujinx.log"), "file"),
new FileLogTarget(AppDomain.CurrentDomain.BaseDirectory, "file"),
1000,
AsyncLogTargetOverflowAction.Block
));