Callback interface that outputs an event record to a stream using formatting tokens.
More...
#include <shibsp/TransactionLog.h>
|
virtual const char * | getType () const =0 |
| Returns a type string to be used for the log category in the event log. More...
|
|
virtual bool | write (std::ostream &out, const char *field, const char *absent) const |
| Outputs an event record to a stream based on the defined formatting string. More...
|
|
Callback interface that outputs an event record to a stream using formatting tokens.
◆ handler_fn
typedef bool(* shibsp::TransactionLog::Event::handler_fn) (const Event &e, std::ostream &) |
|
protected |
Function that handles a formatting token.
◆ getType()
virtual const char* shibsp::TransactionLog::Event::getType |
( |
| ) |
const |
|
pure virtual |
◆ write()
virtual bool shibsp::TransactionLog::Event::write |
( |
std::ostream & |
out, |
|
|
const char * |
field, |
|
|
const char * |
absent |
|
) |
| const |
|
virtual |
Outputs an event record to a stream based on the defined formatting string.
- Parameters
-
out | stream to use |
field | field to output |
absent | string to output if the field is empty |
- Returns
- true iff the field was recognized and substituted
◆ m_app
const Application* shibsp::TransactionLog::Event::m_app |
◆ m_binding
const char* shibsp::TransactionLog::Event::m_binding |
Protocol binding associated with event.
◆ m_handlers
std::map<std::string, handler_fn> shibsp::TransactionLog::Event::m_handlers |
|
protected |
Map of tokens to handlers.
◆ m_nameID
const opensaml::saml2::NameID* shibsp::TransactionLog::Event::m_nameID |
◆ m_peer
const opensaml::saml2md::EntityDescriptor* shibsp::TransactionLog::Event::m_peer |
Peer entity associated with event.
◆ m_protocol
const char* shibsp::TransactionLog::Event::m_protocol |
Protocol associated with event.
◆ m_request
const xmltooling::GenericRequest* shibsp::TransactionLog::Event::m_request |
Request object associated with event.
◆ m_sessionID
const char* shibsp::TransactionLog::Event::m_sessionID |
The documentation for this class was generated from the following file: