I have discussed how to extend the built-in logging to other popular logging libraries, please refer to them. log4net and serilog