frysk.rsl
Class Printer

java.lang.Object
  extended by frysk.rsl.Printer

public final class Printer
extends Object

Class for accumulating and then displaying log messages.


Method Summary
 Printer prefix(Log logger)
           
 Printer prefix(Log logger, Object o)
           
 Printer print(boolean b)
          Booleans are printed as strings.
 Printer print(char c)
          Chars are printed in quotes.
 Printer print(int i)
          Integers are printed in decimal.
 Printer print(long l)
          Longs are printed in hex.
 Printer print(Object o)
          Use poorly implemented reflection to dump Objects.
 Printer print(String s)
          Strings are just copied.
 void suffix()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

prefix

public Printer prefix(Log logger)

prefix

public Printer prefix(Log logger,
                      Object o)

suffix

public void suffix()

print

public Printer print(Object o)
Use poorly implemented reflection to dump Objects.


print

public Printer print(boolean b)
Booleans are printed as strings.


print

public Printer print(char c)
Chars are printed in quotes.


print

public Printer print(int i)
Integers are printed in decimal.


print

public Printer print(long l)
Longs are printed in hex.


print

public Printer print(String s)
Strings are just copied.