Registry / observability / logger

logger

JSON →
library1.4pypypi✓ verified 85d ago

A simple Python logging helper providing easy setup for logging to console and files with color support. It wraps Python's standard library logging module. Current version: 1.4. Release cadence: infrequent, last updated in 2017.

pip install logger
INSTALL
IMPORT
SIG · LOGGER
L
logger
observabilitypythonv1.4
Install
2.3s avg
Import
44ms
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.4 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.044s · 19.2MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.3s · import 0.044s · 20MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

logger
import logger
Simple import of the module itself.
Logger
from logger import Logger
Import the Logger class for custom configuration.

Creates a simple logger and logs an info message.

import logger log = logger.get_logger('myapp') log.info('Application started')
Debug
Known issues
deprecatedThe logger package has not been updated since 2017 and relies on older Python versions (2.7/3.4). May not be compatible with newer Python 3.12+.
fix
Consider using Python's built-in logging module or a more modern alternative like 'loguru'.
affects: >=1.0
gotchaThe 'logger.get_logger()' function returns a Python logging.Logger instance, not a custom class. It does not add any methods beyond standard logging.
fix
Use standard logging.Logger methods: .info(), .debug(), etc.
affects: all
Errors
Common errors & fixes
ImportError: No module named 'logger'
The package is named 'logger' and must be installed, but there is also a standard library 'logging' module which is different.
fix
Install the package: pip install logger
AttributeError: module 'logging' has no attribute 'get_logger'
Confusion between the 'logger' package and the built-in 'logging' module.
fix
Use 'import logger' instead of 'import logging'.
Upgrade
Version history
1.4latest on PyPI · released Oct 22, 2013
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
OpenAI (training)
2
Resources
homepageUNKNOWN
logger — pip install logger · libregistry