public class ConnectionLoggingContext extends java.lang.Object implements com.sshtools.common.logger.LoggerContext, EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
close(Connection<?> con) |
boolean |
isLogging(com.sshtools.common.logger.Log.Level level) |
void |
log(com.sshtools.common.logger.Log.Level level,
java.lang.String msg,
java.lang.Throwable e,
java.lang.Object... args) |
void |
newline() |
void |
open(Connection<?> con) |
void |
processEvent(Event evt) |
void |
raw(com.sshtools.common.logger.Log.Level level,
java.lang.String msg) |
void |
startLogging(SshConnection con) |
void |
startLogging(SshConnection con,
com.sshtools.common.logger.Log.Level level) |
public boolean isLogging(com.sshtools.common.logger.Log.Level level)
isLogging in interface com.sshtools.common.logger.LoggerContextpublic void log(com.sshtools.common.logger.Log.Level level,
java.lang.String msg,
java.lang.Throwable e,
java.lang.Object... args)
log in interface com.sshtools.common.logger.LoggerContextpublic void open(Connection<?> con) throws java.io.IOException
java.io.IOExceptionpublic void startLogging(SshConnection con) throws java.io.IOException
java.io.IOExceptionpublic void startLogging(SshConnection con, com.sshtools.common.logger.Log.Level level) throws java.io.IOException
java.io.IOExceptionpublic void close(Connection<?> con)
public void raw(com.sshtools.common.logger.Log.Level level,
java.lang.String msg)
raw in interface com.sshtools.common.logger.LoggerContextpublic void close()
close in interface com.sshtools.common.logger.LoggerContextpublic void newline()
newline in interface com.sshtools.common.logger.LoggerContextpublic void processEvent(Event evt)
processEvent in interface EventListenerCopyright © 2021. All rights reserved.