daroczig / daroczig/logger

Consider stripping ansi styling from logs in appenders that doesn't support it

Open
#231 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
323
Forks
46
Avg merge
1d 21h
Merged PRs (30d)
1

Description

ANSI stilling from cli can easily spill in to logger. This is generally good, as long as the appender supports it.

I don't think there is a good way to determine empirically if a stream supports ansi but a good approximation is to at least strip ansi formatting for the file appender

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.