|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.connector.Connector
com.ibm.di.connector.LogConnector
public class LogConnector
This class implements a Connector that interfaces with the LogInterface. The class only supports AddOnly Mode.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.connector.Connector |
|---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
| Constructor Summary | |
|---|---|
LogConnector()
The constructor for this class |
|
| Method Summary | |
|---|---|
LogInterface |
getLogger()
Returns the LogInterface we are logging to |
String |
getVersion()
Return version information |
void |
initialize(Object o)
Initializes the Connector. |
void |
putEntry(Entry entry)
Log a single Entry to the log |
void |
terminate()
Terminates the Connector and tries to free up resources |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogConnector()
| Method Detail |
|---|
public void initialize(Object o)
throws Exception
initialize in interface ConnectorInterfaceinitialize in class Connectoro - -
Ignored
Exception - if an error occurs.
public void putEntry(Entry entry)
throws Exception
putEntry in interface ConnectorInterfaceputEntry in class Connectorentry - The entry with the information to log
Exception - if an error occurspublic void terminate()
terminate in interface ConnectorInterfaceterminate in class Connectorpublic LogInterface getLogger()
public String getVersion()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||