mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
Merge pull request #227 from Aireil/log_cleanup
Change sig method log level and add session delimiter in logs
This commit is contained in:
commit
c6d9bd7000
2 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ namespace Dalamud {
|
||||||
Log.Logger = logger;
|
Log.Logger = logger;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Log.Information(new string('-', 200));
|
||||||
Log.Information("Initializing a session..");
|
Log.Information("Initializing a session..");
|
||||||
|
|
||||||
// This is due to GitHub not supporting TLS 1.0, so we enable all TLS versions globally
|
// This is due to GitHub not supporting TLS 1.0, so we enable all TLS versions globally
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ namespace Dalamud.Interface
|
||||||
Address = sigResolver;
|
Address = sigResolver;
|
||||||
} catch (Exception ex) {
|
} 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.
|
// 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();
|
var vtableResolver = new SwapChainVtableResolver();
|
||||||
vtableResolver.Setup(scanner);
|
vtableResolver.Setup(scanner);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue