-
Notifications
You must be signed in to change notification settings - Fork 83
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
Namespace Log Level Defines #23
base: master
Are you sure you want to change the base?
Conversation
This renaming game is kind of open ended if we assume that each library is compatible with all other libraries at all time. |
Can you specify a prefix for preprocessor items? |
I am not sure :)
…On Wed, 12 Jan 2022, 09:49 John, ***@***.***> wrote:
Can you specify a prefix for preprocessor items?
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABN5BQ6DSFKQ655HELPH33UVSXY7ANCNFSM5LWT5ENA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
CR and LF definition were inverted
Removed "register" as it is obsolete after C++11
Sync from upstream
Bring up to date with upstream
Fix CR LF definition
Merge Beirdo's change pending upstream
Same for CR LF etc. They are far too generic. |
I quite agree that polluting the main namespace is annoying, but
(Even then, |
I'm using Arduino Log in a project with other libraries that already have defines set up for
LOG_LEVEL_ERROR
amongst other things. This causes a number of warnings at compile time (and some strange behavior in the logs).This PR renames the #defines to prepend
ARDUINO_LOG_
thereby effectively namespacing them.