|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjp.sourceforge.javacpt.impl.PrinterImpl
public class PrinterImpl
PrinterImpl
Constructor Summary | |
---|---|
PrinterImpl()
Default constructor |
|
PrinterImpl(Logger logger)
Constructor |
Method Summary | |
---|---|
void |
errorPrint(Class<?> clazz,
Method method,
String msg)
Print in ERROR level |
void |
errorPrint(String msg)
Print in ERROR level |
Logger |
getLogger()
Get Logger |
void |
infoPrint(Class<?> clazz,
Method method,
String msg)
Print in INFO level |
void |
infoPrint(String msg)
Print in INFO level |
void |
setLogger(Logger logger)
Set Logger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrinterImpl()
public PrinterImpl(Logger logger)
logger
- loggerMethod Detail |
---|
public void errorPrint(String msg)
errorPrint
in interface Printer
str
- String message to printpublic void errorPrint(Class<?> clazz, Method method, String msg)
clazz
- class that logging occurredmethod
- method that logging occurredstr
- String message to printpublic void infoPrint(String msg)
infoPrint
in interface Printer
str
- String message to printpublic void infoPrint(Class<?> clazz, Method method, String msg)
clazz
- class that logging occurredmethod
- method that logging occurredstr
- String message to printpublic Logger getLogger()
getLogger
in interface Printer
public void setLogger(Logger logger)
setLogger
in interface Printer
logger
- Logger object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |