Click here to Skip to main content
15,908,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am looking for way where I can decouple the logging logic from code and make it configurable. So that I can turn it OFF on production which gives better performance (reduce the logging effort) when the logging in not required. I turn this ON when I need to see the logging and time taken on each method when there is a performance degrade.

Use case : The API is hosted in Azure and logging the trace through diagnostics logging (Currently in Blob). So any pointers regarding logging on azure storage (May be in a table storage to capture time taken for each routine, which can be queried) to capture the performance counters on time taken of each routine is also highly appreciated.

Your help much appreciated !!!


Thanks !
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900