Skip to content

Error handling and testing infrastructure#4

Merged
rhys-h-walker merged 28 commits into
mainfrom
error-handling-null-handling
Jul 21, 2025
Merged

Error handling and testing infrastructure#4
rhys-h-walker merged 28 commits into
mainfrom
error-handling-null-handling

Conversation

@rhys-h-walker

@rhys-h-walker rhys-h-walker commented Jul 20, 2025

Copy link
Copy Markdown
Owner

This PR adds new error handling to many features of the LoggingFramework, as well as creating tests to reflect the individual, errors/features.

  • Allow for logging to be more fine grained with level
    • This will allow for the silencing of certain logging messages,
  • Basic thread safety, synchronized block in produceLog
  • Error handling for most cases
  • Testing for basic console output
  • Error handling in file-creation/string creation
  • Handle null messages with a message when printing/writing
  • Inputs are now screened in methods, errors reported
  • Console only reporting is always active as a fallback for when file reporting breaks
  • Added shutdown method to Logger
  • Added tests for basic functionality: Check README in tests directory
  • Application names should no longer break file systems. Still be careful as to what you name your app

…o match LoggingType.toString(), consoleOnly is now an option to request
@rhys-h-walker rhys-h-walker merged commit 2a78726 into main Jul 21, 2025
2 checks passed
@rhys-h-walker rhys-h-walker deleted the error-handling-null-handling branch July 21, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant