Class AbstractLoggingBean
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
- Direct Known Subclasses:
AbstractAgentClient,AbstractAgentProxy,AbstractCommandSupport,AbstractConnectionServiceFactory,AbstractConnectionServiceRequestHandler,AbstractDelegatingCommandFactory,AbstractDHKeyExchange,AbstractIdentityResourceLoader,AbstractIoServiceFactoryFactory,AbstractKeyPairProvider,AbstractKeyPairResourceParser,AbstractRequestHandler,AbstractScpClient,AbstractScpClientCreator,AbstractScpTransferEventListenerAdapter,AbstractSecurityProviderRegistrar,AbstractSessionIoHandler,AbstractSftpClientExtension,AbstractSftpEventListenerAdapter,AbstractSftpFileAttributeView,AbstractSftpSubsystemHelper,AbstractSimpleClient,AbstractSshFuture,AbstractSubsystemClient,AbstractUserAuth,AbstractUserAuth,AbstractUserAuthMethodFactory,AbstractUserAuthServiceFactory,AgentServerProxy,AggregateShellFactory,AuthorizedKeyEntriesPublickeyAuthenticator,CachingPublicKeyAuthenticator,ChannelToPortHandler,DefaultClientKexExtensionHandler,DefaultKeyboardInteractiveAuthenticator,DefaultScpFileOpener,DefaultServerKexExtensionHandler,DefaultSftpClientFactory,DefaultUnknownChannelReferenceHandler,DelegatingServerKeyVerifier,FileHostKeyCertificateProvider,InvertedShellWrapper,IoBaseCloseable,JaasPasswordAuthenticator,KeySetPublickeyAuthenticator,LocalFileScpSourceStreamResolver,LocalFileScpTargetStreamResolver,ModifiableFileWatcher,NativeFileSystemFactory,NetworkConnector,PipeDataReceiver,ProcessShell,ProcessShellFactory,RequiredServerKeyVerifier,ReservedSessionMessagesHandlerAdapter,ScpHelper,ScpRemote2RemoteTransferHelper,SessionTimeoutListener,SftpDirEntryIterator,SimpleScpClientImpl,SimpleSftpClientImpl,SshdThreadFactory,StandardEnvironment,StaticDecisionForwardingFilter,StaticHostBasedAuthenticator,StaticPasswordAuthenticator,StaticPublickeyAuthenticator,StaticServerKeyVerifier,Window
Serves as a common base class for the vast majority of classes that require some kind of logging. Facilitates quick
and easy replacement of the actual used logger from one framework to another
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.slf4j.Loggerprivate final AtomicReference<SimplifiedLog> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor - creates a logger using the full class nameprotectedAbstractLoggingBean(String discriminator) Create a logger for instances of the same class for which we might want to have a "discriminator" for themprotectedAbstractLoggingBean(org.slf4j.Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddebug(String message, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Throwable t) protected voidprotected voidprotected voidprotected voidprotected voiderror(String message, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Throwable t) protected voidprotected voidprotected voidprotected voidprotected SimplifiedLogprotected voidprotected voidprotected voidwarn(String message, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7, Object o8, Object o9, Throwable t) protected voidwarn(String message, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7, Object o8, Throwable t) protected voidwarn(String message, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7, Throwable t) protected voidprotected voidprotected voidprotected voidprotected void
-
Field Details
-
log
protected final org.slf4j.Logger log -
simplifiedLog
-
-
Constructor Details
-
AbstractLoggingBean
protected AbstractLoggingBean()Default constructor - creates a logger using the full class name- See Also:
-
AbstractLoggingBean
Create a logger for instances of the same class for which we might want to have a "discriminator" for them- Parameters:
discriminator- The discriminator value - ignored ifnullor empty
-
AbstractLoggingBean
protected AbstractLoggingBean(org.slf4j.Logger logger) - Parameters:
logger- TheLoggerinstance to use - ifnullthen one is retrieved using the full class name
-
-
Method Details
-
getSimplifiedLogger
-
debug
-
debug
-
debug
-
debug
-
debug
-
info
-
info
-
warn
-
warn
-
warn
-
warn
-
warn
-
warn
-
warn
-
warn
-
error
-
error
-
error
-
error
-
error
-