-
Notifications
You must be signed in to change notification settings - Fork 1
Logging
This tool allows you to write a log message to all six log levels in ASP.NET Core: Trace, Debug, Information, Warning, Error, and Critical. By sending a message at each log level, you can easily verify that your logging system is configured correctly and handling each log level as expected.
One of the most common issues with logging systems is misconfigured log-level filters, which may cause specific log messages to be ignored or dropped. This tool helps diagnose such problems by ensuring log messages are written at all supported log levels.
In ASP.NET Core, log-level filtering can vary across different logging categories, such as namespaces or type names (e.g., Namespace.TypeName). This tool also allows you to log messages under a specified category and troubleshoot issues related to specific categories of logs.
- Log Levels: The tool will write the same log message at each of the six logging levels. This allows you to ensure that messages are correctly logged based on your application's log-level configuration.
- Log Categories: You can specify a custom logging category (e.g., MyApp, Controllers, HomeController). This helps validate that your logs are being captured and handled appropriately within different parts of your application.
Use this tool to verify that your application's logging configuration is set up to capture all necessary log levels and categories.