Skip to content

Add define guards to MQTT_LOG macros when MQTT_USE_LOG is off #940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2022
Merged

Add define guards to MQTT_LOG macros when MQTT_USE_LOG is off #940

merged 1 commit into from
Jun 19, 2022

Conversation

Tradias
Copy link
Contributor

@Tradias Tradias commented Jun 15, 2022

These macros should have guards since we expect users to define them themselves in order to customize logging as demonstrated with spdlog in an earlier pull request: #927.

@codecov
Copy link

codecov bot commented Jun 15, 2022

Codecov Report

Merging #940 (3e97ebe) into master (1a73c47) will increase coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #940      +/-   ##
==========================================
+ Coverage   83.07%   83.13%   +0.06%     
==========================================
  Files          66       66              
  Lines       10391    10391              
==========================================
+ Hits         8632     8639       +7     
+ Misses       1759     1752       -7     

@redboltz
Copy link
Owner

LGTM. Thansk!

@redboltz redboltz merged commit 0d9155d into redboltz:master Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants