|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.electric.tool.user.ActivityLogger
public class ActivityLogger
Class to log job activity.
| Constructor Summary | |
|---|---|
ActivityLogger()
|
|
| Method Summary | |
|---|---|
static void |
finished()
Call to close output writer and warn user if any exceptions were logged. |
static void |
initialize(java.lang.String fileName,
boolean logMenuActivations,
boolean logJobs,
boolean useTimeStamps)
Initialize the Activity Logger |
static void |
logException(java.lang.Throwable e)
Log an Exception. |
static void |
logHighlights(java.util.List<Highlight2> highlights,
java.awt.geom.Point2D offset)
Log a list of Highlight objects and their offset |
static void |
logJobStarted(java.lang.String jobName,
Job.Type jobType,
Cell cell,
java.util.List<Highlight2> savedHighlights,
java.awt.geom.Point2D savedHighlightsOffset)
Log a Job. |
static void |
logMenuActivated(java.lang.String menuDescription)
Log a menu activation |
static void |
logMessage(java.lang.String msg)
Log some message |
static void |
logThreadMessage(java.lang.String msg)
Temp debug method |
static void |
logTime(long time)
Log the time |
static void |
logToolBarButtonActivated(java.lang.String buttonName)
Log a tool bar button activation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActivityLogger()
| Method Detail |
|---|
public static void initialize(java.lang.String fileName,
boolean logMenuActivations,
boolean logJobs,
boolean useTimeStamps)
logMenuActivations - true to log menu activationslogJobs - true to log jobs startinguseTimeStamps - true to include time stamps (not recommended, makes file harder to read)public static void finished()
public static void logMenuActivated(java.lang.String menuDescription)
menuDescription - description of the menu activatedpublic static void logToolBarButtonActivated(java.lang.String buttonName)
buttonName - the tool bar button activated
public static void logJobStarted(java.lang.String jobName,
Job.Type jobType,
Cell cell,
java.util.List<Highlight2> savedHighlights,
java.awt.geom.Point2D savedHighlightsOffset)
jobName - the job namejobType - the job typecell - the current cellsavedHighlights - the starting highlightssavedHighlightsOffset - the starting highlight offset (currently not used)
public static void logHighlights(java.util.List<Highlight2> highlights,
java.awt.geom.Point2D offset)
highlights - a list of Highlight objectsoffset - the offsetpublic static void logTime(long time)
time - the current time in milliseconds (System.currentTimeMillis)public static void logException(java.lang.Throwable e)
e - the execeptionpublic static void logMessage(java.lang.String msg)
msg - the messagepublic static void logThreadMessage(java.lang.String msg)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||