Package | Description |
---|---|
org.snmp4j.log |
Modifier and Type | Class and Description |
---|---|
class |
ConsoleLogAdapter
The
ConsoleLogAdapter provides simple logging to the console. |
class |
JavaLogAdapter
The
JavaLogAdapter log adapter provides logging for SNMP4J
through the Java logging (java.util.logging ). |
class |
Log4jLogAdapter
The
Log4jLogAdapter implements a logging adapter for Log4J. |
class |
LogProxy
A
LogProxy can be used for late binding loggers. |
class |
NoLogger
The
NoLogger implements a LogAdapter that does
not perform any logging. |
Modifier and Type | Method and Description |
---|---|
protected LogAdapter |
LogFactory.createLogger(Class c)
Creates a Logger for the specified class.
|
protected LogAdapter |
JavaLogFactory.createLogger(Class c) |
protected LogAdapter |
Log4jLogFactory.createLogger(Class c) |
protected LogAdapter |
ConsoleLogFactory.createLogger(Class c) |
protected LogAdapter |
LogFactory.createLogger(String className)
Creates a Logger for the specified class.
|
protected LogAdapter |
JavaLogFactory.createLogger(String className) |
protected LogAdapter |
Log4jLogFactory.createLogger(String className) |
protected LogAdapter |
ConsoleLogFactory.createLogger(String className) |
LogAdapter |
LogProxy.getLogger()
Gets the proxied logger.
|
static LogAdapter |
LogFactory.getLogger(Class c)
Gets the logger for the supplied class.
|
static LogAdapter |
LogFactory.getLogger(String className)
Gets the logger for the supplied class name.
|
LogAdapter |
LogFactory.getRootLogger()
Returns the top level logger.
|
LogAdapter |
JavaLogFactory.getRootLogger() |
LogAdapter |
Log4jLogFactory.getRootLogger() |
LogAdapter |
ConsoleLogFactory.getRootLogger() |
Modifier and Type | Method and Description |
---|---|
void |
LogProxy.setLogger(LogAdapter logger)
Sets the logger that logs the log messages logged with this proxy.
|
Constructor and Description |
---|
LogProxy(LogAdapter logger) |
Copyright © 2024 SNMP4J.org. All rights reserved.