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

Some very minor cleanup #1314

Merged
merged 4 commits into from May 24, 2019
Merged

Some very minor cleanup #1314

merged 4 commits into from May 24, 2019

Conversation

SimonCropp
Copy link
Contributor

No description provided.

Copy link
Member

@nblumhardt nblumhardt left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@@ -37,7 +37,7 @@ public DepthLimiter(int maximumDepth, PropertyValueConverter propertyValueConver
_propertyValueConverter = propertyValueConverter;
}

public void SetCurrentDepth(int depth)
public static void SetCurrentDepth(int depth)
Copy link
Member

Choose a reason for hiding this comment

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

Originally, the thinking here was that the use of ThreadStatic was an implementation detail subject to change, but, I think chances of that not being the case have become very slim :-)

@nblumhardt nblumhardt merged commit decfe09 into serilog:dev May 24, 2019
@nblumhardt nblumhardt mentioned this pull request Oct 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants