mbox series

[0/4] Add severity to library logs

Message ID 20210428073001.755905-1-tz.stoyanov@gmail.com (mailing list archive)
Headers show
Series Add severity to library logs | expand

Message

Tzvetomir Stoyanov (VMware) April 28, 2021, 7:29 a.m. UTC
Defined library log levels and add a new API to set the desired log level.

Tzvetomir Stoyanov (VMware) (4):
  libtraceevent: Add log levels
  libtraceevent: Add logs with severity info
  libtraceevent: Rename tep_vwarning() to tep_vprint()
  libtraceevent: Document new log functionality

 Documentation/libtraceevent-log.txt | 90 +++++++++++++++++++++++++++++
 Documentation/libtraceevent.txt     |  3 +
 src/event-parse.c                   | 14 ++---
 src/event-parse.h                   | 12 ++++
 src/event-plugin.c                  |  2 +-
 src/event-utils.h                   | 11 +---
 src/parse-utils.c                   | 48 +++++++--------
 7 files changed, 140 insertions(+), 40 deletions(-)
 create mode 100644 Documentation/libtraceevent-log.txt