| java.lang.Object Shared.Logging.Internal.GenericLogger Shared.Logging.Internal.SocketLogger
SocketLogger | public class SocketLogger extends GenericLogger (Code) | | This logger sends the log text over a tcp/ip socket
to the internet.
On the server side, run the SocketLogReceiver, which
saves the received log texts to disk using by passing
it to a file logger.
Uses a symmetric key for MD5AndDES encryption of the send data.
|
Method Summary | |
public synchronized void | publish(String levelName, String message) Writes the log text to System.out. | public synchronized void | publish(String levelName, Throwable throwable) Writes the stacktrace to System.out. | public void | publishDirectly(String message) This one just logs the message directly without any formatting. | public void | terminate() This is called by the Logs shutdown hook.
The logger must close any open streams and if required
do further cleanup. |
publish | public synchronized void publish(String levelName, String message)(Code) | | Writes the log text to System.out.
|
publish | public synchronized void publish(String levelName, Throwable throwable)(Code) | | Writes the stacktrace to System.out.
|
publishDirectly | public void publishDirectly(String message)(Code) | | This one just logs the message directly without any formatting.
|
terminate | public void terminate()(Code) | | This is called by the Logs shutdown hook.
The logger must close any open streams and if required
do further cleanup. The JVM will shutdown short time
after this call.
|
|
|