mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-11 07:40:54 -05:00
add command to set log level and develop mode dynamically
This commit is contained in:
@ -1145,7 +1145,7 @@ namespace SharedLibraryCore
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static bool IsDevelopment =>
|
||||
Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") == "Development";
|
||||
Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") == "Development" || AppContext.TryGetSwitch("IsDevelop", out _);
|
||||
|
||||
/// <summary>
|
||||
/// replaces any directory separator chars with the platform specific character
|
||||
|
Reference in New Issue
Block a user