-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor logging and update project version
Refactored the logging mechanism in `Logging.cs` under `vrcosc_magicchatbox.Classes.DataAndSecurity` namespace. Replaced `ShowMSGBox` method calls in `catch` blocks of `WriteException`, `WriteInfo`, and `WriteDebug` methods with a new centralized error handling method `HandleLoggingError`. This method attempts to log errors using NLog and falls back to console logging if NLog fails. Also, added a `try-catch` block around `WriteDebug` method to handle potential exceptions. Updated the `MagicChatbox.csproj` file, incrementing the version number from `0.8.875` to `0.8.878`.
- Loading branch information
Showing
2 changed files
with
33 additions
and
12 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