mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-14 03:47:43 +01:00
feat: unified log path
This commit is contained in:
parent
ca3646b472
commit
3821d0459f
1 changed files with 4 additions and 0 deletions
|
|
@ -55,7 +55,11 @@ namespace Dalamud {
|
|||
}
|
||||
|
||||
private (Logger logger, LoggingLevelSwitch levelSwitch) NewLogger(string baseDirectory) {
|
||||
#if DEBUG
|
||||
var logPath = Path.Combine(baseDirectory, "dalamud.txt");
|
||||
#else
|
||||
var logPath = Path.Combine(baseDirectory, "..", "..", "dalamud.txt");
|
||||
#endif
|
||||
|
||||
var levelSwitch = new LoggingLevelSwitch();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue