|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.acorn.logger.StaticLogFactory
public abstract class StaticLogFactory
A convenience class to instantiate logs statically.
| Constructor Summary | |
|---|---|
StaticLogFactory()
|
|
| Method Summary | |
|---|---|
static Log |
getLog()
Gets an anonymous log instance from the log factory. |
static Log |
getLog(Object object)
Gets an object log instance from the log factory. |
static Log |
getLog(Object object,
Object context)
Gets an object log instance from the log factory for the specified context. |
static LogFactory |
getLogFactory()
Gets the log factory instance. |
static LogFactory |
getLogFactory(Object context)
Gets the log factory instance for the specified context. |
static void |
removeLogFactory(LogFactory factory)
Removes the log factory instance. |
static void |
setLogFactory(LogFactory factory)
Sets the log factory instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticLogFactory()
| Method Detail |
|---|
public static Log getLog()
public static Log getLog(Object object)
object - the log object.
public static Log getLog(Object object,
Object context)
object - the log object.context - the log context.
public static LogFactory getLogFactory()
public static void setLogFactory(LogFactory factory)
factory - the log factory instance.public static void removeLogFactory(LogFactory factory)
factory - the log factory instance.public static LogFactory getLogFactory(Object context)
context - the context.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||