charmbracelet / log

A minimal, colorful Go logging library 🪵
MIT License
2.4k stars 67 forks source link

Fix styling value before rendering #30

Closed aymanbagabas closed 1 year ago

aymanbagabas commented 1 year ago

Fixes: https://github.com/charmbracelet/log/issues/19

codecov[bot] commented 1 year ago

Codecov Report

Merging #30 (d58665b) into main (462efd0) will increase coverage by 3.55%. The diff coverage is 88.88%.

@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   51.40%   54.95%   +3.55%     
==========================================
  Files          23       23              
  Lines         714      726      +12     
==========================================
+ Hits          367      399      +32     
+ Misses        331      313      -18     
+ Partials       16       14       -2     
Impacted Files Coverage Δ
text.go 57.06% <88.88%> (+11.13%) :arrow_up:
styles.go 42.85% <0.00%> (+42.85%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.