-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(app): add EnvironmentName app options to define current deployme…
…nt environment
- Loading branch information
Showing
7 changed files
with
27 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
namespace Sitko.Core.App | ||
namespace Sitko.Core.App; | ||
|
||
public class ApplicationOptions | ||
{ | ||
public class ApplicationOptions | ||
{ | ||
public const string BaseConsoleLogFormat = | ||
"[{Timestamp:HH:mm:ss} {Level:u3} {SourceContext}]{NewLine}\t{Message:lj}{NewLine}{Exception}"; | ||
public const string BaseConsoleLogFormat = | ||
"[{Timestamp:HH:mm:ss} {Level:u3} {SourceContext}]{NewLine}\t{Message:lj}{NewLine}{Exception}"; | ||
|
||
public string Name { get; set; } = ""; | ||
public string Version { get; set; } = ""; | ||
public string Name { get; set; } = ""; | ||
public string Version { get; set; } = ""; | ||
public string Environment { get; set; } = ""; | ||
|
||
public string ConsoleLogFormat { get; set; } = BaseConsoleLogFormat; | ||
public bool? EnableConsoleLogging { get; set; } | ||
} | ||
public string ConsoleLogFormat { get; set; } = BaseConsoleLogFormat; | ||
public bool? EnableConsoleLogging { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters