public class Log4jLoggerFactory extends java.lang.Object implements FsmLoggerFactory
NoLoggerFactory
Disable logging at all.BasicLoggerFactory
Redirecting of the messages to the standard streams.StdStreamLoggerFactory
Logging to standard output and standard error output.JavaLoggerFactory
Logging to java.util.logging subsystem.AnotherFsm.setLoggerFactory(FsmLoggerFactory)
Constructor and Description |
---|
Log4jLoggerFactory() |
Modifier and Type | Method and Description |
---|---|
FsmLogger |
getLogger(java.lang.Class<?> clazz)
Get logger for a specific class.
|
FsmLogger |
getLogger(java.lang.Class<?> clazz,
java.lang.String instance)
Get logger for a specific class and instance.
|
FsmLogger |
getLogger(java.lang.String name)
Get logger for a specific logger with name.
|
public FsmLogger getLogger(java.lang.Class<?> clazz)
FsmLoggerFactory
getLogger
in interface FsmLoggerFactory
clazz
- the classpublic FsmLogger getLogger(java.lang.Class<?> clazz, java.lang.String instance)
FsmLoggerFactory
getLogger
in interface FsmLoggerFactory
clazz
- the classinstance
- the class instancepublic FsmLogger getLogger(java.lang.String name)
FsmLoggerFactory
getLogger
in interface FsmLoggerFactory
name
- the logger nameCopyright 2013 Michal Turek, AnotherFSM.