dneimke / code-timer

A utility to assist with timing code
MIT License
1 stars 1 forks source link

Change default to Log as Warnings #2

Closed dneimke closed 7 years ago

dneimke commented 7 years ago

Change the default behavior to log Warnings instead of Errors. But add a property that allows users to LogWarningsAsErrors

dneimke commented 7 years ago

Question here is... should it be hard-coded behavior about what state to Log at?

Or, how should it be made more "configurable"? e.g. some people may want time blowouts to be Information or Verbose?

There are other things that might need to be configurable such as default ExpectedMilliseconds maybe?

dneimke commented 7 years ago

Fixed in 3ebe56e559c39dfb43f2541cc295eaf19ee073f0