Skip to main content

color log terminal and file

Project description



from color_log import Logger

log = Logger()'message')

linux系统使用 tail -F -s10 -n20 logs/log | perl -pe 's/(INFO)|(WARNING)|(ERROR)/\e[1;34m$1\e[0m\e[1;33m$2\e[0m\e[1;31m$3\e[0m/g' 实时监控日志变化

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for color-log, version 1.0.8
Filename, size & hash File type Python version Upload date
color_log-1.0.8.tar.gz (2.8 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page