public class Logger
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
log(java.lang.Object obj)
logs the structure of an object.
|
static void |
log(ObjectContainer container,
java.lang.Object obj)
logs the structure of an object.
|
static void |
logAll(ObjectContainer container)
logs all objects in the passed ObjectContainer.
|
static void |
main(java.lang.String[] args)
opens a database file and logs the content of a class to standard out.
|
static void |
setMaximumDepth(int depth)
limits logging to a maximum depth.
|
static void |
setOut(java.io.PrintStream ps)
redirects output to a different PrintStream.
|
public static void main(java.lang.String[] args)
args - expects [database filename] [fully qualified classname]public static void log(ObjectContainer container, java.lang.Object obj)
container - the ObjectContainer to be used, or null
to log any object.obj - the object to be analysed.public static void log(java.lang.Object obj)
obj - the object to be analysed.public static void logAll(ObjectContainer container)
container - the ObjectContainer to be used.public static void setOut(java.io.PrintStream ps)
ps - the Printstream to be used.public static void setMaximumDepth(int depth)
depth - the maximum depth.