A simple Logging tool can extract as Markdown, PDF, or print console.
Project description
LLLLLLLLLLL SSSSSSSSSSSSSSS
L:::::::::L SS:::::::::::::::S
L:::::::::L S:::::SSSSSS::::::S
LL:::::::LL S:::::S SSSSSSS
L:::::L ooooooooooo ggggggggg ggggg ggggggggg ggggg eeeeeeeeeeee S:::::S
L:::::L oo:::::::::::oo g:::::::::ggg::::g g:::::::::ggg::::g ee::::::::::::ee S:::::S
L:::::L o:::::::::::::::o g:::::::::::::::::g g:::::::::::::::::g e::::::eeeee:::::eeS::::SSSS
L:::::L o:::::ooooo:::::og::::::ggggg::::::ggg::::::ggggg::::::gge::::::e e:::::e SS::::::SSSSS
L:::::L o::::o o::::og:::::g g:::::g g:::::g g:::::g e:::::::eeeee::::::e SSS::::::::SS
L:::::L o::::o o::::og:::::g g:::::g g:::::g g:::::g e:::::::::::::::::e SSSSSS::::S
L:::::L o::::o o::::og:::::g g:::::g g:::::g g:::::g e::::::eeeeeeeeeee S:::::S
L:::::L LLLLLLo::::o o::::og::::::g g:::::g g::::::g g:::::g e:::::::e S:::::S
LL:::::::LLLLLLLLL:::::Lo:::::ooooo:::::og:::::::ggggg:::::g g:::::::ggggg:::::g e::::::::e SSSSSSS S:::::S
L::::::::::::::::::::::Lo:::::::::::::::o g::::::::::::::::g g::::::::::::::::g e::::::::eeeeeeee S::::::SSSSSS:::::S
L::::::::::::::::::::::L oo:::::::::::oo gg::::::::::::::g gg::::::::::::::g ee:::::::::::::e S:::::::::::::::SS
LLLLLLLLLLLLLLLLLLLLLLLL ooooooooooo gggggggg::::::g gggggggg::::::g eeeeeeeeeeeeee SSSSSSSSSSSSSSS
g:::::g g:::::g
gggggg g:::::g gggggg g:::::g
g:::::gg gg:::::g g:::::gg gg:::::g
g::::::ggg:::::::g g::::::ggg:::::::g
gg:::::::::::::g gg:::::::::::::g
ggg::::::ggg ggg::::::ggg
gggggg gggggg
- About :speaker:
- Installation :open_file_folder:
- Example :memo:
- Restrictions :ghost:
- Contact :tophat:
About :speaker:
If you want a different approach than following your logs by typing print between codes, here is Logges.
With Logges, you can follow your logs that you want to follow, whether you print them on the screen or not, and automate your log outputs by making these log outputs as PDF or MarkDown extensions.
Installation :open_file_folder:
You can install Logges with typing pip install Logges
on Python package managers/terminal. (Docker file will be here as soon as possible)
Example :memo:
- :pushpin: Step 1: Import package as
from Logges import Logges
- :pushpin: Step 2: Initially, You have to setup your log file as
Logges.setup(__file__)
in the run script/method. - :pushpin: Step 3: Log your outputs/logs with
Logges.log()
method. You can use 3 different status message, and show or hide your logs withprint_log
parameter.- :gem: Status = 0 for information logs.
- :gem: Status = 1 for warning logs.
- :gem: Status = 2 for error logs.
- :pushpin: Step 4: At the and, use the
to_markdown()
orto_pdf()
method for saving your logs. (If you want just show your logs at console, useconsole_data()
method.)
Check our example scripts to understand how to use.
Restrictions :ghost:
Please do not use dash (-) character on your script name. If you want to use that character, markdown and pdf inside header will change dash to dot. (For beauty.)
Contact :tophat:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file Logges-1.0.6.2.tar.gz
.
File metadata
- Download URL: Logges-1.0.6.2.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6a96334228f0c08476920f511224dcbd989d94f2c88193bb35d012ba69f447b |
|
MD5 | 40ea8dd7aabb8a28806ec34be32f30eb |
|
BLAKE2b-256 | c0149c6284dfa370492db756a85fd11843d4b5acf5f8616f1104e801f0edd2b7 |