Log Symbols

0.0.14 · maintenance · verified Sat Apr 11

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.

Warnings

Install

Imports

Quickstart

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.

from log_symbols import LogSymbols

print(LogSymbols.success + ' Finished successfully!')
print(LogSymbols.info + ' This is an informational message.')
print(LogSymbols.warning + ' A potential issue occurred.')
print(LogSymbols.error + ' Something went wrong!')

# Or directly import symbols
from log_symbols import success, info, warning, error

print(success + ' Direct import example.')

view raw JSON →