Package org.ow2.clif.analyze.lib.report
Class LogAndDebug
- java.lang.Object
-
- org.ow2.clif.analyze.lib.report.LogAndDebug
-
public class LogAndDebug extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static booleandebug
-
Constructor Summary
Constructors Constructor Description LogAndDebug()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voiderr(java.lang.String msg)static java.lang.StringhtmlTabs()static java.lang.StringhtmlTabs(int nb)static java.lang.StringhtmlTabsm()static java.lang.StringhtmlTabsp()static voidlog(java.lang.String msg)static voidlogm(java.lang.String msg)decrements the tabs count and then prints a message on System.outputstatic voidlogn(java.lang.String msg)prints a message on System.output without "\n"static voidlogp(java.lang.String msg)prints a message on System.output and then increments the tabs countvoidsetBorder(java.awt.Container container, java.lang.String title)voidshowStack(int depth)prints the methods calling stack up to a depth "depth"static java.lang.Stringtabs()static java.lang.Stringtabs(int nb)static java.lang.Stringtabsm()static java.lang.Stringtabsp()static java.lang.StringtoText(java.lang.Object _object)static java.lang.StringtoTxt(StatOnLongs stol)static voidtrace()prints the calling method's name plus a messagestatic voidtrace(java.lang.String msg)prints the calling method's name plus a messagestatic voidtracem()static voidtracem(java.lang.String msg)decrements the tabs count and then prints the calling method's name with a message.static voidtracep()static voidtracep(java.lang.String msg)increments the tabs count and then prints the calling method's name with a message.static voidunimplemented()prints, on Sysytem.output, the calling method's name plus the message "*** Unimplemented Method \"static voidunimplemented(int depth)static voidunimplemented(java.lang.String msg)static voidwarning(java.lang.String msg)
-
-
-
Method Detail
-
tabs
public static java.lang.String tabs(int nb)
-
tabs
public static java.lang.String tabs()
-
tabsp
public static java.lang.String tabsp()
-
tabsm
public static java.lang.String tabsm()
-
err
public static void err(java.lang.String msg)
-
warning
public static void warning(java.lang.String msg)
-
log
public static void log(java.lang.String msg)
- Parameters:
msg- : message to print on Sysytem.output
-
logn
public static void logn(java.lang.String msg)
prints a message on System.output without "\n"- Parameters:
msg- : message to print on Sysytem.output
-
logp
public static void logp(java.lang.String msg)
prints a message on System.output and then increments the tabs count- Parameters:
msg- : message to print on Sysytem.output
-
logm
public static void logm(java.lang.String msg)
decrements the tabs count and then prints a message on System.output- Parameters:
msg- : message to print on Sysytem.output
-
tracep
public static void tracep()
-
tracep
public static void tracep(java.lang.String msg)
increments the tabs count and then prints the calling method's name with a message. Usually "(param1, param2)".- Parameters:
msg- : message to print on Sysytem.output
-
tracem
public static void tracem()
-
tracem
public static void tracem(java.lang.String msg)
decrements the tabs count and then prints the calling method's name with a message. Usually "(param1, param2) return:". - Parameters:
msg- : message to print on Sysytem.output
-
trace
public static void trace()
prints the calling method's name plus a message
-
trace
public static void trace(java.lang.String msg)
prints the calling method's name plus a message- Parameters:
msg- : message to print on Sysytem.output
-
showStack
public void showStack(int depth)
prints the methods calling stack up to a depth "depth"- Parameters:
depth-
-
setBorder
public void setBorder(java.awt.Container container, java.lang.String title)
-
toText
public static java.lang.String toText(java.lang.Object _object)
-
unimplemented
public static void unimplemented()
prints, on Sysytem.output, the calling method's name plus the message "*** Unimplemented Method \"
-
unimplemented
public static void unimplemented(int depth)
-
toTxt
public static java.lang.String toTxt(StatOnLongs stol)
-
unimplemented
public static void unimplemented(java.lang.String msg)
-
htmlTabs
public static java.lang.String htmlTabs(int nb)
-
htmlTabs
public static java.lang.String htmlTabs()
-
htmlTabsp
public static java.lang.String htmlTabsp()
-
htmlTabsm
public static java.lang.String htmlTabsm()
-
-