Skip to content

Allow using global log level as minimum log level for LanguageServerLoggerProvider #189

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

Merged

Conversation

bjorkstromm
Copy link
Member

@TylerLeonhardt is this what you wanted?

Copy link
Collaborator

@TylerLeonhardt TylerLeonhardt left a comment

Choose a reason for hiding this comment

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

LGTM just a minor nit on what you use in the example.

.AddLanguageServer(LogLevel.Error)
.SetMinimumLevel(LogLevel.Error))
.AddLanguageServer()
.SetMinimumLevel(LogLevel.Information))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe worth changing this to like Debug or Trace since Information is the default? Or is something else the default?

Copy link
Member Author

Choose a reason for hiding this comment

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

You are correct, Information is the default level.

@david-driscoll david-driscoll merged commit 804ee62 into OmniSharp:master Oct 28, 2019
@TylerLeonhardt
Copy link
Collaborator

But my comment wasn't addressed...

@bjorkstromm bjorkstromm deleted the feature/use-global-log-level branch October 29, 2019 06:31
@bjorkstromm
Copy link
Member Author

But my comment wasn't addressed...

Addressed here #190

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.

3 participants