Skip to content

porting: Remove dependency on Mynewt logging system#1570

Merged
sjanc merged 1 commit intoapache:masterfrom
sjanc:npl_log
Oct 6, 2023
Merged

porting: Remove dependency on Mynewt logging system#1570
sjanc merged 1 commit intoapache:masterfrom
sjanc:npl_log

Conversation

@sjanc
Copy link
Copy Markdown
Contributor

@sjanc sjanc commented Jul 26, 2023

Define simple NPL interface for logging which should be implemented by ports. This allows to decouple NimBLE from Mynewt specifics like modlog or logcfg.

This is initial attempt to fix #1416.
Probably few more iterations will be needed

@sjanc sjanc force-pushed the npl_log branch 5 times, most recently from 6811f30 to f1238ab Compare August 1, 2023 07:45
{ \
va_list args; \
va_start(args, fmt); \
printf(fmt, args); \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vprintf

@sjanc sjanc marked this pull request as ready for review October 4, 2023 08:23
@sjanc
Copy link
Copy Markdown
Contributor Author

sjanc commented Oct 4, 2023

@xiaoxiang781216 @haukepetersen FYI

Define NPL interface that can be used by ports to implement logging.
@sjanc sjanc merged commit da4e2f0 into apache:master Oct 6, 2023
@sjanc sjanc deleted the npl_log branch October 6, 2023 06:39
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.

LOG_LEVEL defines collision

2 participants