Modified Logger
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Firebird2D.Configuration
|
||||
|
||||
public bool FullScreen { get { return _fullScreen; } set { _fullScreen = value; updateConfig(); } }
|
||||
|
||||
public bool LogActive { get { return _logActive; } set { _logActive = value; GameLogger.logActive = value; updateConfig(); } }
|
||||
public bool LogActive { get { return _logActive; } set { _logActive = value; GameLogger.LogActive = value; updateConfig(); } }
|
||||
|
||||
private static readonly string ConfigSchema = "Configuration/ConfigurationSchema/ConfigSchema.json";
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace Firebird2D.Configuration
|
||||
_videoMode.Height = uint.Parse(_configurationSection["ScreenResolution:y"]);
|
||||
_fullScreen = bool.Parse(_configurationSection["Fullscreen"]);
|
||||
_logActive = bool.Parse(_configurationSection["Log"]);
|
||||
GameLogger.logActive = _logActive;
|
||||
GameLogger.LogActive = _logActive;
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Firebird2D")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+b4d5afc4ba4c2fb1fde6fb769da0e6c84003d734")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+51493135dfc8aa77e4285d80e32310c1f02be5b0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Firebird2D")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Firebird2D")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
@@ -1 +1 @@
|
||||
c0a24d86bf21784cd90312be0fc44d53210fd1ff433ae25e4a8ab483ba3e79a7
|
||||
9d9bedf3152c73b5d358c9740a2af87d4522a5c313195cccdcb155cc37e3b9c4
|
||||
|
||||
Binary file not shown.
@@ -77,6 +77,73 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"G:\\Coding\\Firebird2D\\FireBird2D.Interfaces\\Firebird2D.Interfaces.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "G:\\Coding\\Firebird2D\\FireBird2D.Interfaces\\Firebird2D.Interfaces.csproj",
|
||||
"projectName": "Firebird2D.Interfaces",
|
||||
"projectPath": "G:\\Coding\\Firebird2D\\FireBird2D.Interfaces\\Firebird2D.Interfaces.csproj",
|
||||
"packagesPath": "C:\\Users\\wayan\\.nuget\\packages\\",
|
||||
"outputPath": "G:\\Coding\\Firebird2D\\FireBird2D.Interfaces\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\wayan\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net8.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"C:\\TwinCAT\\Functions\\TE2000-HMI-Engineering\\Infrastructure\\Packages": {},
|
||||
"C:\\TwinCAT\\Functions\\TE2000-HMI-Engineering\\References": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.303/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"G:\\Coding\\Firebird2D\\Firebird2D.KeyMapper\\Firebird2D.KeyMapping.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
@@ -178,7 +245,11 @@
|
||||
"frameworks": {
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"projectReferences": {}
|
||||
"projectReferences": {
|
||||
"G:\\Coding\\Firebird2D\\FireBird2D.Interfaces\\Firebird2D.Interfaces.csproj": {
|
||||
"projectPath": "G:\\Coding\\Firebird2D\\FireBird2D.Interfaces\\Firebird2D.Interfaces.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
|
||||
@@ -1056,6 +1056,16 @@
|
||||
"bin/placeholder/Firebird2D.EventPipelines.dll": {}
|
||||
}
|
||||
},
|
||||
"Firebird2D.Interfaces/1.0.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v8.0",
|
||||
"compile": {
|
||||
"bin/placeholder/Firebird2D.Interfaces.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"bin/placeholder/Firebird2D.Interfaces.dll": {}
|
||||
}
|
||||
},
|
||||
"Firebird2D.KeyMapping/1.0.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v8.0",
|
||||
@@ -1072,6 +1082,9 @@
|
||||
"Firebird2D.Logger/1.0.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v8.0",
|
||||
"dependencies": {
|
||||
"Firebird2D.Interfaces": "1.0.0"
|
||||
},
|
||||
"compile": {
|
||||
"bin/placeholder/Firebird2D.Logger.dll": {}
|
||||
},
|
||||
@@ -1790,6 +1803,11 @@
|
||||
"path": "../Firebird2D.EventPipelines/Firebird2D.EventPipelines.csproj",
|
||||
"msbuildProject": "../Firebird2D.EventPipelines/Firebird2D.EventPipelines.csproj"
|
||||
},
|
||||
"Firebird2D.Interfaces/1.0.0": {
|
||||
"type": "project",
|
||||
"path": "../FireBird2D.Interfaces/Firebird2D.Interfaces.csproj",
|
||||
"msbuildProject": "../FireBird2D.Interfaces/Firebird2D.Interfaces.csproj"
|
||||
},
|
||||
"Firebird2D.KeyMapping/1.0.0": {
|
||||
"type": "project",
|
||||
"path": "../Firebird2D.KeyMapper/Firebird2D.KeyMapping.csproj",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "TRKtJseqRqc=",
|
||||
"dgSpecHash": "62iPCpiCzS8=",
|
||||
"success": true,
|
||||
"projectFilePath": "G:\\Coding\\Firebird2D\\Firebird2D\\Firebird2D.csproj",
|
||||
"expectedPackageFiles": [
|
||||
|
||||
Reference in New Issue
Block a user