Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiridevs/wtslog
a Way Too Simple LOGger
https://github.com/kiridevs/wtslog
Last synced: 7 days ago
JSON representation
a Way Too Simple LOGger
- Host: GitHub
- URL: https://github.com/kiridevs/wtslog
- Owner: kiriDevs
- License: isc
- Created: 2021-11-27T22:38:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-02T07:14:18.000Z (almost 3 years ago)
- Last Synced: 2024-11-09T07:22:37.563Z (11 days ago)
- Language: Python
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wtslog
> Way Too Simple LOGgerThis is a small package that literally just exports one class, the `Logger`,
that does one thing: Collect and / or print messages
potentially with indentation.Originally made because I wanted something simple for
[my adventofcode solutions](https://github.com/kiriDevs/adventofcode),
then made into it's own package because I was tired of importing it like this:```py
with open("../../_common/logger.py", "w") as logger_module:
exec(logger_module.read())
LOGGER: Logger = Logger(OUTPUT_PATH)
```Then [published to PyPI](https://pypi.org/project/wtslog/) so I can properly
install and `import` it for usage.