fjpanag commented on issue #3157: URL: https://github.com/apache/incubator-nuttx/issues/3157#issuecomment-805947512
The buffering approach, though, may have another advantage: Now that we have multiple syslog channels, we may want to have different settings for each channel (e.g. debug level for the serial and warning level for the file). I was thinking of how this could be implemented (although it is not to my current plans). Maybe if we pass the buffer directly to each channel, along with any relevant information (like severity), and have the channel itself to decide whether to print the message and how, ensure that it will happen atomically etc etc... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org