Logging enhancements
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 7 Dec 2007 11:16:45 +0000 (13:16 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 7 Dec 2007 11:16:45 +0000 (13:16 +0200)
commita5f65886f897223fbb476c6ddb8c9f4b7d81d6a3
treeb0179f4e185d6c77e9aa9856a44c342637b0be34
parentca9ff17a4d21ec6ba78a56a0f1ddae7e8e16682e
Logging enhancements
- add parameters to rpmlogCallback: current log record pointer +
  optional user data
- callback return flags to enable/disable default logging behavior and
  to perform exit() after cleaning up
- add method for retrieving prefix string for a given message priority
- move default logging behavior out of rpmlog() proper
rpmio/rpmlog.c
rpmio/rpmlog.h