{"id":28087,"library":"pygogo","title":"pygogo","description":"A Python logging library with super powers, providing easy-to-use loggers with customizable formatting, handlers, and verbosity control. Current version 1.3.0 with infrequent releases.","status":"active","version":"1.3.0","language":"python","source_language":"en","source_url":"https://github.com/reubano/pygogo","tags":["logging","python","logger","utility"],"install":[{"cmd":"pip install pygogo","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"Gogo","correct":"from pygogo import Gogo"}],"quickstart":{"code":"from pygogo import Gogo\n\nlogger = Gogo(__name__).logger\nlogger.info('Hello, world!')","lang":"python","description":"Create and use a basic logger."},"warnings":[{"fix":"Replace verbose=True with level=logging.DEBUG.","message":"The 'verbose' parameter in Gogo init is deprecated. Use 'level' with a logging constant.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Assign the logger to a variable and reuse it instead of calling Gogo repeatedly.","message":"Calling Gogo(__name__).logger twice creates two separate loggers with the same name. The second overwrites the first's handlers.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Use 'from pygogo import Gogo'.","cause":"Incorrect import statement like 'import pygogo' then 'pygogo.Gogo'.","error":"AttributeError: module 'pygogo' has no attribute 'Gogo'"},{"fix":"Use logging.INFO or pass integer level (e.g., 20).","cause":"Passing a string level like 'INFO' instead of logging.INFO.","error":"ValueError: Unknown level 'INFO'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}