| Package | Description |
|---|---|
| org.apache.commons.logging | |
| org.apache.commons.logging.impl | |
| org.nds.logging |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AndroidLog
An Android logging interface abstracting logging APIs.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Log |
LogFactory.getInstance(Class clazz) |
abstract Log |
AndroidLogFactory.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) |
abstract Log |
AndroidLogFactory.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) |
static Log |
AndroidLogFactory.getLog(Class<?> clazz)
Convenience method to return a named logger, without the application having to care about factories.
|
static Log |
LogFactory.getLog(String name) |
static Log |
AndroidLogFactory.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 |
AndroidLogger
Implementation of
org.apache.commons.logging.Log interface which delegates all processing to android.util.Log instance. |
class |
SimpleAndroidLog
Implementation of Log for Android platform that sends all enabled log messages, for all defined loggers, to the Android logging System.
|
class |
SimpleLog
Simple implementation of Log that sends all enabled log messages, for all defined loggers, to System.err.
|
| Modifier and Type | Method and Description |
|---|---|
Log |
AndroidLoggerFactory.getInstance(Class clazz)
Convenience method to derive a name from the specified class and call
getInstance(String) with it. |
Log |
LogFactoryImpl.getInstance(Class clazz) |
Log |
AndroidLoggerFactory.getInstance(String name)
Construct (if necessary) and return a
Log instance, using the factory's current set of configuration attributes. |
Log |
LogFactoryImpl.getInstance(String name) |
protected Log |
LogFactoryImpl.newInstance(String name) |
| Constructor and Description |
|---|
Logger(String name,
Log log) |
Copyright © 2014. All rights reserved.