Suggestion/request: Documentation/tutorial for beginners
See original GitHub issueI came across loguru
today, but even as a moderately experienced python developer, I find it hard to pick up loguru
using the documentation. Current documentation appears to be targeted towards people with experience in logging
module. It lists all features that are provided by loguru, but it doesn’t show what is needed to get going for beginners. I looked up for tutorial, but haven’t found one yet.
If there is a tutorial elsewhere, please let me know. With the assumption that not one is available yet, I would like to suggest following improvements in Readme:
- Example script showing minimal
loguru
setup and may be few more examples showcasing other basic but major features - Levels available (info, warning, etc) and their uses. Unless one has experience with
logging
, it would be hard to know about their availability and understand their usage. - Minimal python version needed
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Step 4: Request example (API reference tutorial)
The request example includes a sample request using the endpoint, showing some parameters configured. The request example usually doesn't ...
Read more >Suggest changes - GitLab Docs
This action generates a commit in the merge request, authored by the user that suggested the changes. Choose a line of code to...
Read more >APIs for Beginners - How to use an API (Full Course / Tutorial)
What is an API? Learn all about APIs (Application Programming Interfaces) in this full tutorial for beginners. You will learn what APIs do, ......
Read more >Suggest edits in Google Docs - Computer
Suggest changes to a file · At the top right, click Editing edit and then from the drop-down, select Suggesting add suggestion ....
Read more >Incorporating feedback in your pull request - GitHub Docs
When reviewers suggest changes in a pull request, you can automatically incorporate the changes into the pull request or open an issue to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So, I tried to improve the documentation as you suggested:
logging
andloguru
in the migration guideThanks for yours suggestions @ManavalanG! I hope this may answer some beginners questions about Loguru and logging in general.
Thanks for your elaborated feedback!
I don’t know if you saw it (it’s not yet on the
stable
branch), but there is also this page on the Loguru documentation: Switching from standard logging to loguru I guess I could clarify what are the fundamental difference between standard logging and loguru, and how they relate to each other. Either by adding a new section or by extanding existing ones. In addition to other explanations in thelogger
docstrings and a link to a logging guide, I hope this should ease first steps with Loguru.