Uses of Interface
org.snmp4j.log.LogAdapter
-
Uses of LogAdapter in org.snmp4j.log
Modifier and TypeClassDescriptionclass
TheConsoleLogAdapter
provides simple logging to the console.class
TheJavaLogAdapter
log adapter provides logging for SNMP4J through the Java logging (java.util.logging
).class
ALogProxy
can be used for late binding loggers.class
TheNoLogger
implements aLogAdapter
that does not perform any logging.Modifier and TypeMethodDescriptionprotected LogAdapter
ConsoleLogFactory.createLogger
(Class<?> c) protected LogAdapter
ConsoleLogFactory.createLogger
(String className) protected LogAdapter
JavaLogFactory.createLogger
(Class<?> c) protected LogAdapter
JavaLogFactory.createLogger
(String className) protected LogAdapter
LogFactory.createLogger
(Class<?> c) Creates a Logger for the specified class.protected LogAdapter
LogFactory.createLogger
(String className) Creates a Logger for the specified class.static LogAdapter
Gets the logger for the supplied class.static LogAdapter
Gets the logger for the supplied class name.LogProxy.getLogger()
Gets the proxied logger.ConsoleLogFactory.getRootLogger()
JavaLogFactory.getRootLogger()
LogFactory.getRootLogger()
Returns the top level logger.JavaLogFactory.JavaLogAdapterIterator.next()
Modifier and TypeMethodDescriptionJavaLogFactory.loggers()
LogFactory.loggers()
Returns all available LogAdapters in depth first order.Modifier and TypeMethodDescriptionprotected void
JavaLogFactory.addHandler
(LogAdapter logAdapter, String handlerName, Map<String, String> handlerConfig) protected void
LogFactory.addHandler
(LogAdapter logAdapter, String handlerName, Map<String, String> handlerConfig) protected void
JavaLogFactory.removeAllHandlers
(LogAdapter logAdapter) protected void
LogFactory.removeAllHandlers
(LogAdapter logAdapter) void
LogFactory.resetLogger
(LogAdapter logger) Close all handlers of a logger and set its level tonull
if it is not the root logger.void
LogProxy.setLogger
(LogAdapter logger) Sets the logger that logs the log messages logged with this proxy.protected void
LogFactory.updateLogger
(LogAdapter logAdapter, Map<String, String> loggerConfig) protected void
LogFactory.writeConfiguration
(Properties config, LogAdapter logAdapter) protected String
LogFactory.writeConfiguration
(Properties config, LogAdapter logAdapter, Object handler) -
Uses of LogAdapter in org.snmp4j.transport.tls
Modifier and TypeMethodDescriptionstatic boolean
TLSTMUtil.isMatchingFingerprint
(X509Certificate[] x509Certificates, OctetString fingerprint, boolean useClientMode, CounterSupport tlstmCounters, LogAdapter logger, Object eventSource) Checks if any of the certificates in the provided array matches the given fingerprint.