|
db4o 6.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.db4o.tools.Logger
public class Logger
Logger class to log and analyse objects in RAM.
This class is not part of db4o.jar!
It is delivered as sourcecode in the
path ../com/db4o/tools/
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
db4o 6.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |