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

GSOC: logger system #84

Closed
4 tasks done
0x8f701 opened this issue Apr 5, 2020 · 3 comments
Closed
4 tasks done

GSOC: logger system #84

0x8f701 opened this issue Apr 5, 2020 · 3 comments

Comments

@0x8f701
Copy link
Member

0x8f701 commented Apr 5, 2020

  • Design Logger trait and implement the default logger which implements Logger trait.
  • Logger can show if the enforcing result is cached or not by the prefix [Cache].
  • Logger support levels (info, debug, error...). Logs can be filtered by specific Level.
  • Logs are by default colorful.

Please comment below if you have sent proposal and if you'll work on this.

@0x8f701 0x8f701 changed the title GSOC: sqlx-adapter GSOC: logger system Apr 5, 2020
@0x8f701
Copy link
Member Author

0x8f701 commented Apr 5, 2020

As I know @PsiACE is working on this

@PsiACE
Copy link
Contributor

PsiACE commented Apr 5, 2020

May be useful discussion in the past #51

Of course, I also submitted a proposal on this, with some code examples that might be useful. (Just some fragments.)

@0x8f701
Copy link
Member Author

0x8f701 commented May 8, 2020

Close as solved in #134 , I just implemented a simple logger there based on log crate.

@0x8f701 0x8f701 closed this as completed May 8, 2020
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

No branches or pull requests

2 participants