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

add start_console_logging(bool) which accepts a flag. #2102

Merged
merged 1 commit into from
Jan 22, 2023

Conversation

ratmice
Copy link
Collaborator

@ratmice ratmice commented Jan 2, 2022

Simple patch;

Noticed that when feature gating another logger, it seemed like it would be easier if log_to_console took a bool.
Because it occurs in a builder call chain, there doesn't really seem to be a convenient place for cfg based conditional compilation.

Not really important though

@xarvic xarvic added the S-needs-review waits for review label Jan 5, 2022
Copy link
Member

@xStrom xStrom left a comment

Choose a reason for hiding this comment

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

Sorry for letting this sit for so long.

Please rebase on master so we can do a fresh CI run and then I'll do a full review.

- Tabs: allow getting and setting the tab index of a Tabs widget ([#2082] by [@rjwittams]
- Scope: expose scoped state using state() and state_mut() ([#2082] by [@rjwittams])
- Tabs: allow getting and setting the tab index of a Tabs widget ([#2082] by [@rjwittams])
- App: add start_console_logging(bool) which accepts a flag. ([#2102] by [@ratmice])
Copy link
Member

Choose a reason for hiding this comment

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

Unfortunately the links aren't automatically generated. Please manually define both [#2102] and [@ratmice] at the bottom of the file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Rebased and defined the links, sorry I had missed your comment until now.

@xStrom xStrom added S-waiting-on-author waits for changes from the submitter and removed S-needs-review waits for review labels Jan 12, 2023
@xStrom xStrom added S-needs-review waits for review and removed S-waiting-on-author waits for changes from the submitter labels Jan 19, 2023
Copy link
Member

@xStrom xStrom left a comment

Choose a reason for hiding this comment

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

Alright, this is simple enough. Let's get it in just in the nick of time.

@xStrom xStrom removed the S-needs-review waits for review label Jan 22, 2023
@xStrom xStrom merged commit 6c184c3 into linebender:master Jan 22, 2023
@ratmice ratmice deleted the console_logging_flag branch January 22, 2023 22:23
xStrom added a commit to xStrom/druid that referenced this pull request Jan 22, 2023
xStrom added a commit to xStrom/druid that referenced this pull request Jan 27, 2023
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