Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The most significant changes in the code are related to the logging m…
…essages in the `TimeProcessAccessPolicyCheck_Tick` method in the `MainForm.cs` file. The variables `_loggerExecutingText` and `_loggerExecutedText` that were previously used to format the log messages have been replaced with hardcoded strings. The `nameof` operator is used to get the string name of the method, which is inserted into the log message. These changes are only included in the compiled code if the `DEBUG` symbol is not defined. List of changes: 1. In the `MainForm.cs` file, the logging messages in the `TimeProcessAccessPolicyCheck_Tick` method have been modified. The `_loggerExecutingText` and `_loggerExecutedText` variables have been replaced with hardcoded strings "Executing {e}." and "Executed {e}.", respectively (reference: `MainForm.cs`). 2. The `nameof` operator is used to get the string name of the `TimeProcessAccessPolicyCheck_Tick` method, which is inserted into the log message at the `{e}` placeholder (reference: `MainForm.cs`). 3. These changes are wrapped in a `#if !(DEBUG)` preprocessor directive, meaning they will only be included in the compiled code if the `DEBUG` symbol is not defined. This is typically used to include or exclude code for debugging purposes (reference: `MainForm.cs`).
- Loading branch information