Skip to main content

logslib

Simple logging for people.

Install

pip install logslib

Usage

import logslib

logslib.log("Hello, world!") logslib.log("Warning", type=logslib.WARNING) logslib.dump(users=42, status="ok")

Open log file

logslib.view()

Clear log file

logslib.clear()

Write log to console

logslib.tee = True

Path to log

logslib.log_path

Levels

logslib.levels

Log path: %APPDATA%/logs/filename(filehash)/log.txt

Release files for logslib 1.0.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 logslib 1.0.0
File Size Uploaded
logslib-1.0.0.tar.gz 3.5 kB Details

Built distribution (wheel)

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

Total release size: 7.2 kB

Release files / logslib-1.0.0.tar.gz

Download URL logslib-1.0.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f5ed74808797f7e58718353db913b20692b214076dbebbe4e4c3b5e52a3537bd
BLAKE2b-256 checksum
How to use checksums
b5e1247790539c28b4f93439a8e8e9fd2e4b7c900b5276e2084decc47f3aa42a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / logslib-1.0.0-py3-none-any.whl

Download URL logslib-1.0.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4430313478f9bc27bb0678d5a102fc23fc65fc1cd25e5468b654fcfb258997e
BLAKE2b-256 checksum
How to use checksums
b6bd485cf1cc3728328505be4b29912e9ef6dc8899aebfd323c35d1c6004ff68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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