Skip to content
Darren Neimke edited this page Oct 27, 2017 · 4 revisions

Welcome to the code-timer wiki!

##What is code-timer? CodeTimer provides an easy way to add timing to procedure-style methods. It helps to provides visibility into the cost of individual code segments within a method.

##Monitoring It is a useful diagnostic tool for when you need some extra information about how your code is performing. Ideally, you would use something like Application Insights to capture run-time diagnostics and then delve into your application logs to look at code-timer information when you want to verify segment costs for costly methods and requests.

##Logging It is not a logger, but it works with the .NET Core ILogger to write Information and Warning (or Error) messages to the log for timed pieces of code. While code-timer can write verbose and non-verbose format messages to a log, you will still need to configure an ILogger in your application alongside other good logging tools such a Serilog so that you can tweak logging settings in different environments.

Clone this wiki locally