| org.apache.log.output.AbstractOutputTarget org.apache.log.output.net.SocketOutputTarget
SocketOutputTarget | public SocketOutputTarget(InetAddress address, int port) throws IOException(Code) | | Creates output target with the end point specified by the address and port
Parameters: address - end point address Parameters: port - the end point port exception: IOException - if an I/O error ocurrs when creating socket |
SocketOutputTarget | public SocketOutputTarget(String host, int port) throws IOException(Code) | | Creates the output target with the end point specified by host and port
Parameters: host - end point host Parameters: port - the end point port exception: IOException - if an I/O error ocurrs when creating socket |
close | public synchronized void close()(Code) | | Shutdown target.
Attempting to write to target after close() will cause errors to be logged.
|
doProcessEvent | protected void doProcessEvent(LogEvent event)(Code) | | To process the LogEvent
Parameters: event - the LogEvent |
write | protected void write(LogEvent event)(Code) | | Writes the output as a LogEvent without formatting.
Formatting ia applied on the server side where it is log.
Parameters: event - the LogEvent |
|
|