-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: enhancementProposed improvementProposed improvement
Description
Hi, has there been any discussion around adding individual functions for each debug logging level, instead of passing in the level explicitly, similar to how the logging module in python works? I believe something like this should work:
void Arduino_DebugUtils::info(const char * fmt, ...)
{
va_list args;
va_start(args, fmt);
print(DBG_INFO, fmt, args);
va_end(args);
}
I would be more than happy to open a PR if this feels like something that should be added
Metadata
Metadata
Assignees
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedtopic: codeRelated to content of the project itselfRelated to content of the project itselftype: enhancementProposed improvementProposed improvement