mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Merge remote-tracking branch 'upstream/master' into imguiscene-inside
This commit is contained in:
commit
3c4b9f96ff
83 changed files with 6304 additions and 871 deletions
|
|
@ -199,9 +199,10 @@ namespace Dalamud.Injector
|
|||
|
||||
CullLogFile(logPath, 1 * 1024 * 1024);
|
||||
|
||||
const long maxLogSize = 100 * 1024 * 1024; // 100MB
|
||||
Log.Logger = new LoggerConfiguration()
|
||||
.WriteTo.Console(standardErrorFromLevel: LogEventLevel.Debug)
|
||||
.WriteTo.File(logPath, fileSizeLimitBytes: null)
|
||||
.WriteTo.File(logPath, fileSizeLimitBytes: maxLogSize)
|
||||
.MinimumLevel.ControlledBy(levelSwitch)
|
||||
.CreateLogger();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue