Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support object vals for mdlc #896

Merged

Conversation

UgurAldanmaz
Copy link
Contributor

I intend to create PR for #883
But there are unrelated commits that coming from my fork update process. I hope they will not cause problem.

MappedDiagnosticsLogicalContext.Set(key, value);

Assert.Equal(value, MappedDiagnosticsLogicalContext.Get(key));
}
Copy link
Member

Choose a reason for hiding this comment

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

this should be getObject? (see fail on appveyor (AV))

an unit test on MappedDiagnosticsLogicalContext.Get(key) (result should be "5"), would be also nice

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry for this silly error :/ I fixed immediately and commit.


MappedDiagnosticsLogicalContext.Set(key, value);

Assert.Equal(value.ToString(), MappedDiagnosticsLogicalContext.Get(key));
Copy link
Member

Choose a reason for hiding this comment

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

The tostring isn't good here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right. I just changed it.

@304NotModified 304NotModified added this to the 4.2 milestone Sep 7, 2015
304NotModified added a commit that referenced this pull request Sep 7, 2015
@304NotModified 304NotModified merged commit beb2ca1 into NLog:master Sep 7, 2015
@304NotModified
Copy link
Member

Looks good! It has been merged!

@304NotModified
Copy link
Member

Closes #883

@304NotModified 304NotModified modified the milestones: 4.2, 4.1.1 Sep 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants