A simple logging library.
The main library.
RockLib.Logging for AspNetCore. Includes context providers and a logging action filter.
An implementation of Microsoft.Extensions.Logging that uses RockLib.Logging.
Extensions for verifying logging operations with Moq.
- Getting started
- How to:
- Perform basic logging operations
- Instantiate and configure a logger
- Add log extended properties "safely" (i.e. automatically remove PII)
- Configure and use LoggerFactory
- Add RockLib logging to the Microsoft dependency injection system
- Add RockLib logging to the Microsoft logging system
- Use log providers
- Handle log provider errors
- Use context providers
- Use log processors / processing mode
- Format logs
- Enable tracing for troubleshooting
- Use LoggingTraceListener to log trace messages
- Automatically capture HttpContext information in AspNetCore apps ๐
- Automatically log AspNetCore controller actions ๐
- API Reference: