Package | Description |
---|---|
org.apache.commons.logging | |
org.apache.commons.logging.impl |
Modifier and Type | Method and Description |
---|---|
abstract Log |
LogFactory.getInstance(Class clazz)
Convenience method to derive a name from the specified class and
call
getInstance(String) with it. |
abstract Log |
LogFactory.getInstance(String name)
Construct (if necessary) and return a
Log instance,
using the factory's current set of configuration attributes. |
static Log |
LogFactory.getLog(Class clazz)
Convenience method to return a named logger, without the application
having to care about factories.
|
static Log |
LogFactory.getLog(String name)
Convenience method to return a named logger, without the application
having to care about factories.
|
Modifier and Type | Class and Description |
---|---|
class |
NoOpLog
Trivial implementation of Log that throws away all messages.
|
class |
SimpleLog
Simple implementation of Log that sends all enabled log messages,
for all defined loggers, to System.err.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.