• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xolox / python-coloredlogs
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Repo Added 01 Oct 2014 10:53PM UTC
Files 6
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH 3.0
branch: 3.0
CHANGE BRANCH
x
Reset
  • 3.0
  • 0.7.1
  • 0.8
  • 1.0
  • 1.0.1
  • 3.1
  • 3.1.1
  • 3.1.2
  • 3.1.3
  • 3.1.4
  • 3.2
  • 3.3
  • 3.4
  • 3.5
  • 4.0
  • 5.0
  • 5.1
  • dev
  • master

pending completion
30

push

travis-ci

xolox
Introduce ColoredFormatter, deprecate ColoredStreamHandler (major rewrite)

Fixes #2 by switching from connected_to_terminal() to
terminal_supports_colors() (the latter understands enough about
Windows to know it doesn't support ANSI escape sequences).

Fixes #6 by adding support for user defined formats (even
using a custom filter to enable the use of %(hostname)s :-).

Fixes #7 by adding support for user defined formats and making
coloredlogs.install() an almost equivalent of logging.basicConfig().

This rewrite mostly resolves issue 59 on the pip-accel issue tracker [1].
Basically all that's missing is a configuration option in pip-accel to
make it easier to customize the log format, although that can now be
done by setting $COLOREDLOGS_LOG_FORMAT.

[1] https://github.com/paylogic/pip-accel/issues/59

299 of 327 relevant lines covered (91.44%)

3.66 hits per line

Relevant lines Covered
Build:
Build:
327 RELEVANT LINES 299 COVERED LINES
3.66 HITS PER LINE
Source Files on 3.0
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30 3.0 Introduce ColoredFormatter, deprecate ColoredStreamHandler (major rewrite) Fixes #2 by switching from connected_to_terminal() to terminal_supports_colors() (the latter understands enough about Windows to know it doesn't support ANSI escape sequen... push 23 Oct 2015 02:11AM UTC xolox travis-ci pending completion  
See All Builds (206)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc