|
db4o 2.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.db4o.tools.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)
[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.Object - the object to be analysed.public static void log(java.lang.Object obj)
Object - 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)
PrintStream - the Printstream to be used.public static void setMaximumDepth(int depth)
int - the maximum depth.
|
db4o 2.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||