Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Tracelog refactoring #1477

Merged
merged 10 commits into from
Mar 25, 2014
Merged

Conversation

thecodejunkie
Copy link
Member

Previously the initialization of the trace log was hard-coded in the NancyContext. This pull-request introduces the IRequestTraceFactory concept which provided a factory for setting up the request trace stuff.

  • Introduced IRequestTrace interface
  • Renamed RequesetTrace to DefaultRequestTrace
  • Introduced RequestData and ResponseData
  • Introduced IRequestTraceFactory interface
  • Implemented DefaultRequestTraceFactory
  • Updated DefaultNancyContextFactory to use IRequestTraceFactory
  • Added missing XML comments
  • Added StaticConfigurationContext class to Nancy.Testing

- Introduced IRequestTrace interface
- Renamed RequesetTrace to DefaultRequestTrace
- Introduced RequestData and ResponseData
- Introduced IRequestTraceFactory interface
- Implemented DefaultRequestTraceFactory
- Updated DefaultNancyContextFactory to use IRequestTraceFactory
- Added missing XML comments
@thecodejunkie thecodejunkie added this to the 0.23 milestone Mar 4, 2014
@khellang
Copy link
Member

khellang commented Mar 7, 2014

:shipit: 👍

@csainty
Copy link
Contributor

csainty commented Mar 7, 2014

This is going to allow some more Glimpse.Nancy awesomesauce. Hurry up and release it already ;)

/// <summary>
/// Creates a new instance of the <see cref="DefaultDiagnostics"/> class.
/// </summary>
/// <param name="diagnosticsConfiguration"></param>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice XML comment ;)

grumpydev added a commit that referenced this pull request Mar 25, 2014
@grumpydev grumpydev merged commit 464a0c8 into NancyFx:master Mar 25, 2014
jrsconfitto added a commit to jrsconfitto/Nancy.EmbeddedContent that referenced this pull request Jun 6, 2014
@thecodejunkie thecodejunkie deleted the tracelog-refactoring branch February 17, 2016 08:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants