|
||||||||||
| 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 - logger| Method Detail |
|---|
public void errorPrint(String msg)
errorPrint in interface Printerstr - String message to print
public 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 Printerstr - String message to print
public 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 Printerpublic void setLogger(Logger logger)
setLogger in interface Printerlogger - Logger object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||