apache / celix

Apache Celix is a framework for C and C++14 to develop dynamic modular software applications using component and in-process service-oriented programming.
https://celix.apache.org/
Apache License 2.0
164 stars 86 forks source link

Feature/490 add verbose log ctrl #550

Closed PengZheng closed 1 year ago

PengZheng commented 1 year ago

This PR fixes #490 and add a celix::log_admin detail sub command to switch selected loggers between detailed and brief mode. In the former mode, details (file/function/line, if available) will be attached to each message from selected loggers, while in the latter mode such details are omitted.

codecov-commenter commented 1 year ago

Codecov Report

Merging #550 (748f0c6) into master (fc18c65) will increase coverage by 0.06%. The diff coverage is 100.00%.

:exclamation: Current head 748f0c6 differs from pull request most recent head b2be044. Consider uploading reports for the commit b2be044 to get more accurate results

@@            Coverage Diff             @@
##           master     #550      +/-   ##
==========================================
+ Coverage   77.43%   77.50%   +0.06%     
==========================================
  Files         226      226              
  Lines       34639    34688      +49     
==========================================
+ Hits        26824    26884      +60     
+ Misses       7815     7804      -11     
Impacted Files Coverage Δ
bundles/logging/log_admin/src/celix_log_admin.c 99.76% <100.00%> (+0.02%) :arrow_up:
bundles/logging/log_helper/src/celix_log_helper.c 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

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