|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openhealthexchange.openpixpdq.ihe.audit.Log4JMessenger
class Log4JMessenger
A messenger that uses Log4j to send the audit trail messages. This is looking to the future, if log4j ever implements all the required features (e.g. bsd syslog and rsyslog.) Then you could use a single configuration file AtnaAuditTrailConfig.xml to configure all your ATNA logging needs. For now it is pretty much just used for spitting the ATNA logging out to the screen.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.openhealthexchange.openpixpdq.ihe.audit.IMessageTransmitter |
---|
IMessageTransmitter.Severity |
Constructor Summary | |
---|---|
Log4JMessenger(AuditTrailDescription description)
|
Method Summary | |
---|---|
AuditTrailDescription |
getAuditTrailDescription()
Get the description of this connection. |
void |
sendMessage(java.lang.String message)
Send a message using this transmitter using the default facility and level. |
void |
sendMessage(java.lang.String message,
IMessageTransmitter.Severity severity)
Send a message using this transmitter using the given level. |
void |
setDefaultSeverity(IMessageTransmitter.Severity severity)
Set the default level for the transmitter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Log4JMessenger(AuditTrailDescription description)
Method Detail |
---|
public void sendMessage(java.lang.String message)
IMessageTransmitter
sendMessage
in interface IMessageTransmitter
public void sendMessage(java.lang.String message, IMessageTransmitter.Severity severity)
IMessageTransmitter
sendMessage
in interface IMessageTransmitter
public void setDefaultSeverity(IMessageTransmitter.Severity severity)
IMessageTransmitter
setDefaultSeverity
in interface IMessageTransmitter
public AuditTrailDescription getAuditTrailDescription()
IMessageTransmitter
getAuditTrailDescription
in interface IMessageTransmitter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |