CadQuery / CQ-editor

CadQuery GUI editor based on PyQT
Apache License 2.0
757 stars 116 forks source link

add log() function to the built-in CQ-editor console #360

Closed jdegenstein closed 2 years ago

jdegenstein commented 2 years ago

This is a small commit to add the ability to send output from the CQ-editor console to the built-in Log Viewer: image

I have it set currently to INFO level, which I think is appropriate since it is user-initiated anyway.

codecov[bot] commented 2 years ago

Codecov Report

Merging #360 (5aea3ed) into master (774c3c6) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #360   +/-   ##
=======================================
  Coverage   88.66%   88.67%           
=======================================
  Files          19       19           
  Lines        1500     1501    +1     
  Branches      205      205           
=======================================
+ Hits         1330     1331    +1     
  Misses        137      137           
  Partials       33       33           
Impacted Files Coverage Δ
cq_editor/main_window.py 93.58% <100.00%> (+0.04%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

adam-urbanczyk commented 2 years ago

LGTM, thanks @jdegenstein