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 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 You can install Logges with typing pip install Logges
on Python package managers/terminal. (Docker file will be here as soon as possible)
π
Example -
π Step 1: Import package asfrom Logges import Logges
-
π Step 2: Initially, You have to setup your log file asLogges.setup(__file__)
in the run script/method. -
π Step 3: Log your outputs/logs withLogges.log()
method. You can use 3 different status message, and show or hide your logs withprint_log
parameter.-
π Status = 0 for information logs. -
π Status = 1 for warning logs. -
π Status = 2 for error logs.
-
-
π Step 4: At the and, use theto_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 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.)