Merge pull request #227 from Aireil/log_cleanup

Change sig method log level and add session delimiter in logs
This commit is contained in:
goaaats 2020-12-19 23:39:15 +01:00 committed by GitHub
commit c6d9bd7000
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -20,6 +20,7 @@ namespace Dalamud {
Log.Logger = logger;
try {
Log.Information(new string('-', 200));
Log.Information("Initializing a session..");
// This is due to GitHub not supporting TLS 1.0, so we enable all TLS versions globally

View file

@ -73,7 +73,7 @@ namespace Dalamud.Interface
Address = sigResolver;
} catch (Exception ex) {
// The SigScanner method fails on wine/proton since DXGI is not a real DLL. We fall back to vtable to detect our Present function address.
Log.Error(ex, "Could not get SwapChain address via sig method, falling back to vtable...");
Log.Debug(ex, "Could not get SwapChain address via sig method, falling back to vtable...");
var vtableResolver = new SwapChainVtableResolver();
vtableResolver.Setup(scanner);