Skip to main content

Simple Python Logger

SimplePyLogger is a very simple logging library for Python.

Its main functionalities are based on the Python logging library with some tweaks.

Currently, it is based on the Singleton pattern. So, only one logger instance can be created.

Install

First, update pip by running python -m pip install --upgrade pip. Then, run python -m pip install SimplePyLogger.

(Very short) Tutorial

First create a Logger instance:

from PyLogger import Logger
logger = Logger() # using current work directory
logger = Logger(path_to_log_file) # or using custom path

Then log whatever you want to:

logger.info("Some info")
logger.warning("Some warning")
logger.error("Some error")

It currently accepts prefix, end and sep kwargs for logging.

Release files for SimplePyLogger 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SimplePyLogger 0.3.0
File Size Uploaded
SimplePyLogger-0.3.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SimplePyLogger 0.3.0
File Interpreter ABI Platform
SimplePyLogger-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size:9.4 kB

Release files / SimplePyLogger-0.3.0.tar.gz

Download URL SimplePyLogger-0.3.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
68f965cd15944188993ac9d2a8278ea8dcfaa11e45b30a7765d7e04fbc524dc3
BLAKE2b-256 checksum
How to use checksums
e9f3b86d221d7da1083f5e90348c827f51b2e2ad52f401d8d54f9405332e2abb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.6

Release files / SimplePyLogger-0.3.0-py3-none-any.whl

Download URL SimplePyLogger-0.3.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05098f53533acab87ad66d2125e1c8935fb6df584c22d3f1885fb6a68f9d4be0
BLAKE2b-256 checksum
How to use checksums
8fd31d92466f03296d6980d8115b47372994361b2d4427e1450e87532a29a784
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page