Commit Graph

9 Commits (6774d37e4a5c0aec3ca680555333c30ff1f018c8)

Author SHA1 Message Date
nirenjan 441945d669 Rearrange pinelog sources 2021-12-03 23:05:15 -08:00
nirenjan b9a0f71983 Display TAP diagnostics in build log 2021-11-11 06:21:20 -08:00
nirenjan 3be94a24ba Update logging library to include module and string buffer
This commit adds the following changes to pinelog:

- Optional buffer to write the message to prior to writing to the output
  stream. This reduces the likelihood of log messages from multiple
  threads interleaving due to multiple calls to fputs/fprintf, etc. The
  default is to still write directly to the output stream, but the
  integrator can add a define of PINELOG_BUFFER_SZ to the CFLAGS, and
  this will allow the application to log messages that are shorter than
  the above size, including the timestamp, level and backtrace if any.

- Optional module level logging. This allows more fine-grained
  debugging, where the application can control the log levels of the
  individual modules. By default, when modules are configured, they
  default to the global log level, but this can be overridden by the
  application.
2021-11-08 16:18:30 -08:00
nirenjan 321d9aaa0e Add benchmark program to tests 2021-07-19 09:35:20 -07:00
nirenjan b5457f405e Add pinelog.h to distribution tarball 2021-07-14 12:39:29 -07:00
nirenjan 85ab66b323 Add usage and integration instructions to README 2021-07-14 12:32:12 -07:00
nirenjan 051e5f4639 Add tests for different configurations 2021-07-14 11:05:20 -07:00
nirenjan 10941defb2 Add test framework 2021-07-14 11:00:44 -07:00
nirenjan aa330a2cbf Add autotools build framework 2021-07-13 11:33:10 -07:00