This library has been deprecated and will no longer receive updates.
RockLib has been a cornerstone of our open source efforts here at Rocket Mortgage, and it's played a significant role in our journey to drive innovation and collaboration within our organization and the open source community. It's been amazing to witness the collective creativity and hard work that you all have poured into this project.
However, as technology relentlessly evolves, so must we. The decision to deprecate this library is rooted in our commitment to staying at the cutting edge of technological advancements. While this chapter is ending, it opens the door to exciting new opportunities on the horizon.
We want to express our heartfelt thanks to all the contributors and users who have been a part of this incredible journey. Your contributions, feedback, and enthusiasm have been invaluable, and we are genuinely grateful for your dedication. 🚀
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
- Use log level resolver
- Format logs
- Enable tracing for troubleshooting
- Use LoggingTraceListener to log trace messages
- Automatically capture HttpContext information in AspNetCore apps
- Automatically log AspNetCore controller actions
- Automatically log 404 http responses
- Change a logger's settings "on the fly" (in a running application)
- Test logging in an application using RockLib.Logging.Moq
- API Reference: