#include <shibsp/TransactionLog.h>
Public Member Functions | |
| TransactionLog (const char *fmt=nullptr, const char *absent=nullptr) | |
| Constructor. | |
| xmltooling::Lockable * | lock () |
| void | unlock () |
| virtual void | write (const Event &e) |
| Write a formatted event record to the log. | |
Public Attributes | |
| xmltooling::logging::Category & | log |
Classes | |
| class | Event |
| Callback interface that outputs an event record to a stream using formatting tokens. More... | |
For backward compatibility, we expose a logging object directly, but new applications should rely on the Event callback API.
| shibsp::TransactionLog::TransactionLog | ( | const char * | fmt = nullptr, |
|
| const char * | absent = nullptr | |||
| ) |
Constructor.
| fmt | formatting string for events | |
| absent | string to output when a field is empty |
| virtual void shibsp::TransactionLog::write | ( | const Event & | e | ) | [virtual] |
Write a formatted event record to the log.
This method is internally synchronized and the caller does NOT need to explicitly lock and unlock the object.
| e | event to log |
| xmltooling::logging::Category& shibsp::TransactionLog::log |
1.4.7