{"id":3544,"library":"log-symbols","title":"Log Symbols","description":"Log Symbols provides colored symbols (like ✓, ✖, ℹ, ⚠) for various log levels in Python, enhancing terminal output readability. The current version is 0.0.14, with the last release in August 2019, indicating a stable but not actively developed library. It includes fallbacks for Windows CMD, which has a limited character set.","status":"maintenance","version":"0.0.14","language":"en","source_language":"en","source_url":"https://github.com/manrajgrover/py-log-symbols","tags":["logging","terminal","CLI","symbols","UX"],"install":[{"cmd":"pip install log-symbols","lang":"bash","label":"Install with pip"}],"dependencies":[],"imports":[{"symbol":"Log Symbols","correct":"from log_symbols import LogSymbols"},{"symbol":"Direct Symbols (e.g., success)","correct":"from log_symbols import success, info, warning, error"}],"quickstart":{"code":"from log_symbols import LogSymbols\n\nprint(LogSymbols.success + ' Finished successfully!')\nprint(LogSymbols.info + ' This is an informational message.')\nprint(LogSymbols.warning + ' A potential issue occurred.')\nprint(LogSymbols.error + ' Something went wrong!')\n\n# Or directly import symbols\nfrom log_symbols import success, info, warning, error\n\nprint(success + ' Direct import example.')","lang":"python","description":"Import `LogSymbols` to access symbols as attributes (e.g., `LogSymbols.success`), or import individual symbols directly for concise usage. The library automatically handles appropriate symbol rendering for different terminals, including fallbacks for Windows CMD."},"warnings":[{"fix":"Manually prepend the desired symbol to your log message string when using Python's `logging` module or other logging frameworks.","message":"The `log-symbols` library is not directly integrated with Python's standard `logging` module. You need to explicitly print the symbols alongside your log messages if you want to use `logging` functionality (e.g., `logger.info(LogSymbols.info + ' Message')`). It merely provides the symbols as strings.","severity":"gotcha","affected_versions":"0.0.14"},{"fix":"Consider if the existing functionality meets your needs. For advanced terminal output or active development, explore more recently maintained alternatives if available.","message":"The library's last release was in August 2019, meaning it's not actively maintained. While it's stable for its intended purpose, there will be no new features or updates for compatibility with very recent Python versions or terminal advancements.","severity":"gotcha","affected_versions":"0.0.14"},{"fix":"Always convert messages to strings before concatenating with `log_symbols`. For example: `LogSymbols.info + str(your_variable)`.","message":"Direct concatenation of symbols with non-string types can lead to `TypeError`. Ensure that any message combined with a log symbol is first converted to a string.","severity":"gotcha","affected_versions":"0.0.14"}],"env_vars":null,"last_verified":"2026-04-11T00:00:00.000Z","next_check":"2026-07-10T00:00:00.000Z"}