{"id":21540,"library":"logger","title":"logger","description":"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.","status":"maintenance","version":"1.4","language":"python","source_language":"en","source_url":"https://github.com/niccokunzmann/logger","tags":["logging","helper","color"],"install":[{"cmd":"pip install logger","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"Simple import of the module itself.","symbol":"logger","correct":"import logger"},{"note":"Import the Logger class for custom configuration.","symbol":"Logger","correct":"from logger import Logger"}],"quickstart":{"code":"import logger\nlog = logger.get_logger('myapp')\nlog.info('Application started')","lang":"python","description":"Creates a simple logger and logs an info message."},"warnings":[{"fix":"Consider using Python's built-in logging module or a more modern alternative like 'loguru'.","message":"The 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+.","severity":"deprecated","affected_versions":">=1.0"},{"fix":"Use standard logging.Logger methods: .info(), .debug(), etc.","message":"The 'logger.get_logger()' function returns a Python logging.Logger instance, not a custom class. It does not add any methods beyond standard logging.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Install the package: pip install logger","cause":"The package is named 'logger' and must be installed, but there is also a standard library 'logging' module which is different.","error":"ImportError: No module named 'logger'"},{"fix":"Use 'import logger' instead of 'import logging'.","cause":"Confusion between the 'logger' package and the built-in 'logging' module.","error":"AttributeError: module 'logging' has no attribute 'get_logger'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}