Skip to main content

A Simple Logger Package

Installation

pip install simple-loggers

Usage

from simple_loggers import SimpleLogger

logger = SimpleLogger(colored=True)
logger.debug('debug message')
logger.info('info message')
logger.warning('warn message')
logger.error('error message')

logger2 = SimpleLogger(name='TEST2', colored=False, logfile='out.log')
logger2.debug('debug message')
logger2.info('info message')
logger2.warning('warn message')
logger2.error('error message')

logger3 = SimpleLogger(name='TEST3', level='info', fmt='%(asctime)s %(levelname)s: %(message)s')
logger3.debug('debug message')
logger3.info('info message')
logger3.warning('warn message')
logger3.error('error message')

Metadata

Release files for simple-loggers 1.0.5

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

Source distribution (sdist)

Source distribution for simple-loggers 1.0.5
File Size Uploaded
simple-loggers-1.0.5.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-loggers 1.0.5
File Interpreter ABI Platform
simple_loggers-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 5.7 kB

Release files / simple-loggers-1.0.5.tar.gz

Download URL simple-loggers-1.0.5.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
354ad8b6e21200ce58b644941e3e53722b91dec486b852936a9c393053a973ad
BLAKE2b-256 checksum
How to use checksums
fcd223c744365b74d644f98e65f6aa9d8611067c3810f6fd738586b4773d84e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / simple_loggers-1.0.5-py3-none-any.whl

Download URL simple_loggers-1.0.5-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a1a07a692f04c3e4b5a79261498ca8143bbf0dbfd1cbdeb5cc4cad96c4ebb40
BLAKE2b-256 checksum
How to use checksums
1525e6d75a5f1056a89e55892ab9c6944feb0e75c41bcab0b46b5199d84fe19f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

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