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

Fixes #298 - Configuration of app's logger #317

Merged

Conversation

AntiD2ta
Copy link
Contributor

Fixes #298

Changes:

  • Add pipeline for change the level of logs from Settings view
  • Add pipeline for change the output of logs from Settings view

Does this change need to mentioned in CHANGELOG.md?
yes | no

Requires testing
yes

Comments about testing , should you have some

AntiD2ta and others added 22 commits January 3, 2020 19:13
…stination and a Combo box to select log level
I would like a ComboBox with fixed options, but I couldn't do it right
This allows to changes logger properties and propagate this changes across all modules's logger
Changes:
- Add SetOutput function to set the desired logger's output given a option
- Return error in SetOutputToFile function
Remove SetOutput function and add GetOutputWriter function to return the io.Writer that needs to be given to SetOutputTo function
…ject's logger

This occurs when the app's logger change its output
@AntiD2ta AntiD2ta added stdev wip Work in progress config App configuration labels Jan 21, 2020
@AntiD2ta AntiD2ta added this to the 0.27.0 milestone Jan 21, 2020
@AntiD2ta AntiD2ta self-assigned this Jan 21, 2020
@AntiD2ta AntiD2ta added this to In progress in FiberCrypto wallet - Iteration 1 via automation Jan 21, 2020
Copy link
Contributor

@olemis olemis left a comment

Choose a reason for hiding this comment

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

@stdevAntiD2ta more tests need be written

src/models/config.go Outdated Show resolved Hide resolved
src/models/config.go Outdated Show resolved Hide resolved
src/models/config.go Outdated Show resolved Hide resolved
src/models/config.go Outdated Show resolved Hide resolved
src/models/config.go Outdated Show resolved Hide resolved
src/ui/Settings.qml Outdated Show resolved Hide resolved
@olemis
Copy link
Contributor

olemis commented Jan 21, 2020

@stdevAntiD2ta more tests need be written

for coverage to be reported ok

@AntiD2ta AntiD2ta requested a review from olemis January 22, 2020 21:45
@olemis olemis merged commit 91b2ca4 into fibercrypto:develop Jan 25, 2020
FiberCrypto wallet - Iteration 1 automation moved this from In progress to Done Jan 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config App configuration stdev wip Work in progress
Development

Successfully merging this pull request may close these issues.

Log app events to file
3 participants